Gamemode.EntityRemoved
From GMod Wiki
Revision as of 10:46, 26 July 2011 by Python1320 (Talk | contribs)
Event Hook | |
Hook Name | EntityRemoved |
Syntax | GM:EntityRemoved( Entity ) |
Description | Called right before an entity is removed. (Note that this isn't going to be totally reliable on the client since the client only knows about entities that it has had in its PVS.) |
Returns | Nil |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.EntityRemoved]Gamemode.EntityRemoved [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Additional Notes
- player.GetAll won't list the currently to be removed player object within the hook.