G.GetWorldEntity
From GMod Wiki
Revision as of 22:07, 11 October 2009 by Unrealomega (Talk | contribs)
Function | |
Syntax |
GetWorldEntity( ) Where is this used? |
Description: | |
Always returns Entity [0] worldspawn | |
Returns: | Entity |
Part of Library: | Global Functions |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.GetWorldEntity]G.GetWorldEntity [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Gets the worldspawn entity. |
---|---|
Used on | |
Code | print(GetWorldEntity()) |
Output | Entity [0] worldspawn |