Garry's Mod Wiki


  gamemode.Register( table gm, string name, string derived )


This is used internally - although you're able to use it you probably shouldn't.

Called by the engine when a gamemode is being loaded.


1 table gm
Your GM table
2 string name
Name of your gamemode, lowercase, no spaces.
3 string derived
The gamemode name that your gamemode is derived from