G.GetGlobalVar
From GMod Wiki
Function | |
Syntax |
GetGlobalVar( Var index [, Var default] ) Where is this used? |
Description: | |
Returns a Global variable. | |
Returns: | Var |
Part of Library: | Global Functions |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.GetGlobalVar]G.GetGlobalVar [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | N/A | ||
---|---|---|---|
Used on | |||
Code |
| ||
Output | N/A |
Additional Notes
- Index can be a String or Integer - however, when dealing with global networked variables, it's suggested that you use a string with part of the name of your script in it - like "mygamemode_tickrate", for example.