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