dobrograd-13-06-2022/octolib/addon/gamemodes/sandbox/gamemode/cl_notice.lua
Jonny_Bro (Nikita) e4d5311906 first commit
2023-11-16 15:01:19 +05:00

15 lines
272 B
Lua

local notifyMap = {
[NOTIFY_GENERIC] = 'rp',
[NOTIFY_ERROR] = 'warning',
[NOTIFY_CLEANUP] = 'ooc',
[NOTIFY_HINT] = 'hint',
[NOTIFY_UNDO] = 'hint',
}
function GM:AddNotify(str, type)
octolib.notify.show(notifyMap[type], str)
end
GM.PaintNotes = octolib.func.zero