Entity.IsWorld
From GMod Wiki
| 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.