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