Garry's Mod Wiki

gamemode

The gamemode library provides functions relating to the gamemode system in Garry's Mod.

Methods

any gamemode.Call( string name, vararg args )
Called by the engine to call a hook within the loaded gamemode. The supplied event 'name' must be defined in the active gamemode. Otherwise, nothing will happen - not even hooks added with hook.Add will be called. This is similar to
table gamemode.Get( string name )
This returns the internally stored gamemode table.
void gamemode.Register( table gm, string name, string derived )
Called by the engine when a gamemode is being loaded.

Page Links


Special Pages


Wikis

?

Render Time: 29ms

Session 0
DB GetPage 3
Generate Html 3
SaveChanges 9
Render Body 0
Render Sidebar 12