gmod.GetGamemode
From GMod Wiki
Revision as of 23:22, 28 December 2010 by Disseminate (Talk | contribs)
Function | |
Syntax |
gmod.GetGamemode( String name ) Where is this used? |
Description: | |
Gets the current gamemode's object. | |
Returns: | Table Gamemode table |
Part of Library: | gmod |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Gmod.GetGamemode]Gmod.GetGamemode [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Additional Notes
- This method is a pretty redundant way of getting the gamemode object. The global variable GAMEMODE should be used in its place.