Contextmenu

If i do a *.lua with



function GM:OnContextMenuOpen( )
end

its called Context.lua at /lua/autorun/client/

i get lua script errors at start



[ERROR] lua/autorun/client/contextmenu.lua:1: attempt to index global 'GM' (a nil value)
  1. unknown - lua/autorun/client/contextmenu.lua:1


function GM:OnContextMenuOpen()

end

take this in cl_init.lua because GM= Gamemode … find a script in sandbox and paste into