gmod.GetGamemode
From GMod Wiki
| 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.