cleanup
The cleanup library allows you to control what happens to custom entities when the clean-up buttons are pressed in the Utilities tab of the Spawn menu (default Q).
Methods
This is used internally - although you're able to use it you probably shouldn't.
Called by the gmod_admin_cleanup console command. Allows admins to clean up the server.
This is used internally - although you're able to use it you probably shouldn't.
Called by the gmod_cleanup console command. Allows players to cleanup their own props.
cleanup.GetList()
Gets the cleanup list.
Replaces one entity in the cleanup module with another
cleanup.UpdateUI()
Repopulates the clients cleanup menu