cleanup.Add
From GMod Wiki
Revision as of 13:43, 13 September 2009 by Unrealomega (Talk | contribs)
| Function | |
| Syntax |
cleanup.Add( Player ply, String type, Entity ent ) Where is this used? |
| Description: | |
| Add an entity to a players clean up list. | |
| Returns: | nil |
| Part of Library: | cleanup |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Cleanup.Add]Cleanup.Add [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 a function based method of Player.AddCleanup
- In order to have a button for the cleanup type you are trying to use, you must use Cleanup.Register