• Contextmenu
    1 replies, posted
[url]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index1294.html[/url] If i do a *.lua with [CODE] function GM:OnContextMenuOpen( ) end[/CODE] its called Context.lua at /lua/autorun/client/ i get lua script errors at start [CODE] [ERROR] lua/autorun/client/contextmenu.lua:1: attempt to index global 'GM' (a nil value) 1. unknown - lua/autorun/client/contextmenu.lua:1 [/CODE]
function GM:OnContextMenuOpen() end take this in cl_init.lua because GM= Gamemode ... find a script in sandbox and paste into
Sorry, you need to Log In to post a reply to this thread.