G.GetGlobalBool
From GMod Wiki
Function | |
Syntax |
GetGlobalBool( Var index [, Boolean default] ) Where is this used? |
Description: | |
Gets a global boolean, set it with SetGlobalBool. | |
Returns: | Boolean |
Part of Library: | Global Functions |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.GetGlobalBool]G.GetGlobalBool [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Description | Reads bleep and prints it |
---|---|
Used on | |
Code | print( GetGlobalBool( "bleep", false ) ) |
Output | N/A |