G.SetGlobalInt
From GMod Wiki
| 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: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.SetGlobalInt]G.SetGlobalInt [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
| Description | Sets the index bleep to 5. |
|---|---|
| Used on | |
| Code | SetGlobalInt ( "bleep", 5 ) |
| Output | N/A |