• C + Rightclick still works?
    1 replies, posted
I put this as a lua in lua/autorun/client/contextmenu.lua hook.Add("OnContextMenuOpen", "removeContextMenu", function()returnfalseend) But still doesnt disable it and gives me this error: [[MG] Spielespielen2002|3|STEAM_0:0:130014180] Lua Error: [ERROR] lua/autorun/client/nocontextmenu.lua:1: '=' expected near ')' 1. unknown - lua/autorun/client/nocontextmenu.lua:0 How to fix this lol
hook.Add("OnContextMenuOpen", "removeContextMenu", function() return false end) Write it like this instead, there are no spaces inbetween your statements there. For some reason the code blocks are formatting out the spaces...
Sorry, you need to Log In to post a reply to this thread.