Script-Enforcer-Bypass icon indicating copy to clipboard operation
Script-Enforcer-Bypass copied to clipboard

concommand.Add creates a console command, but running the command returns Unknown command

Open marchcain opened this issue 4 years ago • 1 comments

Here is the part of the code with the console command:

concommand.Add("removehooks",function()
hook.Remove("PostRender", "hook1")
end)

When running this as a script with lua_openscript_cl using this patch, it will show the console command in autocomplete, but when executing the command, it says its an unknown command.

marchcain avatar Mar 13 '21 09:03 marchcain

same problem

Singe72 avatar Feb 19 '22 01:02 Singe72