Garry's Mod Wiki


  cleanup.CC_Cleanup( Player pl, string command, table args )


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.


1 Player pl
The player that called the console command.
2 string command
The console command that called this function.
3 table args
First and only argument is the cleanup type.