Player.AddCleanup
From GMod Wiki
| Gamemode Function: Player.AddCleanup | |
|---|---|
| Player.AddCleanup is a function that is defined in the Sandbox Gamemode and its derivatives. | |
| Function | |
| Syntax | Player:AddCleanup( String type, Entity ent ) | 
| Description: | |
| Add an entity to the players clean up list. | |
| Returns: | nil | 
| In Object: | Player | 
| Realm: |  | 
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.AddCleanup]Player.AddCleanup [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] | 
	
Examples
Additional Notes
- Constraints AND entities can be put in a cleanup list.
- This is an object oriented method of Cleanup.Add
 
			
			