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.
Here is the part of the code with the console command:
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.