Entity.IsWorld
From GMod Wiki
Revision as of 18:17, 25 October 2009 by Unrealomega (Talk | contribs)
Function | |
Syntax | Entity:IsWorld( ) |
Description: | |
Returns true if the entity is worldspawn (if the entity is part of the world). Floors, walls, roads and the like qualify under this. | |
Returns: | Boolean |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.IsWorld]Entity.IsWorld [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Could be used for preventing errors and crashes.