G.GetGlobalInt
From GMod Wiki
Revision as of 19:34, 5 November 2009 by Crazy Quebecer (Talk | contribs)
| Function | |
| Syntax |
GetGlobalInt( String index [, Integer default] ) Where is this used? |
| Description: | |
| Gets a global integer, set it with SetGlobalInt. | |
| Returns: | Integer |
| Part of Library: | Global Functions |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.GetGlobalInt]G.GetGlobalInt [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
| Description | Reads bleep and prints it |
|---|---|
| Used on | |
| Code | print(GetGlobalInt( "bleep" )) |
| Output | N/A |