cleanup.Register
From GMod Wiki
| Function | |
| Syntax |
cleanup.Register( String type ) Where is this used? |
| Description: | |
| Register a new clean up type in the cleanup list. | |
| Returns: | nil |
| Part of Library: | cleanup |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Cleanup.Register]Cleanup.Register [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Adds a button to clean up "cameras". |
|---|---|
| Used on | |
| Code | cleanup.Register( "cameras" ) |
| Output | Adds a button to clean up "cameras" in the admin's and user's cleanup menu. |