G.SafeRemoveEntityDelayed
From GMod Wiki
| Function | |
| Syntax | SafeRemoveEntityDelayed( Entity  ent, Number  delay ) Where is this used? | 
| Description: | |
| The same as SafeRemoveEntity but this time with a delay. | |
| Returns: | nil | 
| Part of Library: | Global Functions | 
| Realm: |  | 
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.SafeRemoveEntityDelayed]G.SafeRemoveEntityDelayed [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] | 
	
Examples
| Description | Remove every entity with a 5 second delay. | 
|---|---|
| Used on |  | 
| Code | for _, v in pairs( ents.GetAll() ) do SafeRemoveEntityDelayed( v, 5 ) end | 
| Output | N/A | 
Additional Notes
- This function cannot remove players. (that's why it's called SAFERemoveEntityDelayed!)
 
			
			