G.NullEntity
From GMod Wiki
Revision as of 21:45, 2 November 2009 by Crazy Quebecer  (Talk | contribs)
				
			| Function | |
| Syntax | NullEntity(  ) Where is this used? | 
| Description: | |
| Always returns NULL ENTITY | |
| Returns: | Entity NULL ENTITY | 
| Part of Library: | Global Functions | 
| Realm: |  | 
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.NullEntity]G.NullEntity [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] | 
	
Examples
| Description | Prints a NULL entity and if it's valid or not (wich it will never be). Also prints an global alias of it. | 
|---|---|
| Used on |  | 
| Code | print(NullEntity()) print(NullEntity():IsValid()) print(NullEntity() == NULL) | 
| Output | NULL ENTITY false  | 
Additional Notes
- Same as NULL.
 
			
			