• DarkRP - Disabling C (context) Menu
    3 replies, posted
Hi there, I was just wondering if there was any way to disable the context menu for DarkRP, I believe it removes some RP feel to the gamemode; any help would be appreciated. - Dozza
[lua] hook.Add('OnContextMenuOpen', 'NoContext4u', function() return false end) [/lua]
[QUOTE=StonedPenguin;46500842][lua] hook.Add('OnContextMenuOpen', 'NoContext4u', function() return false end) [/lua][/QUOTE] Sorry to sound like a derp pal but where would this go :wink:
[url]http://wiki.garrysmod.com/page/GM/ContextMenuOpen[/url] [url]http://wiki.garrysmod.com/page/GM/OnContextMenuOpen[/url] Drop it into a clientside file, or into: SERVER/garrysmod/addons/stonedpenguin/lua/autorun/client/disable_context_menu.lua
Sorry, you need to Log In to post a reply to this thread.