-
Автор темы
- #1
code_language.lua:
local function on_paint()
local function consolefilter()
if menu.misc.console_filter:get_value() then
if original.confilter then
se.get_convar("con_filter_enable"):set_float(1)
se.get_convar("con_filter_text"):set_string("IrWL5106TZZKNFPz4P4Gl3pSN?J370f5hi373ZjPg%VOVh6lN")
original.confilter = false
end
else
if not original.confilter then
se.get_convar("con_filter_enable"):set_float(0)
se.get_convar("con_filter_text"):set_string("")
original.confilter = true
end
end
end
consolefilter();
end
client.register_callback("paint", handle_paint)
что не так?