G.GetGlobalInt

From GMod Wiki

Revision as of 19:34, 5 November 2009 by Crazy Quebecer (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.GetGlobalInt]G.GetGlobalInt [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionReads bleep and prints it
Used onNewerShared.png
Code
print(GetGlobalInt( "bleep" ))
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox