Garry's Mod Wiki

cleanup.CC_AdminCleanup

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

Description

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.

Arguments

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 arg is the cleanup type.