G.SetGlobalInt

From GMod Wiki

Revision as of 19:40, 11 November 2009 by Crazy Quebecer (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax SetGlobalInt( String index, Integer value )
Where is this used?
Description:
Sets a global integer along with an index.
Returns: nil
Part of Library: Global Functions
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.SetGlobalInt]G.SetGlobalInt [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionSets the index bleep to 5.
Used onNewerShared.png
Code
SetGlobalInt ( "bleep", 5 )
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox