Return to Main Docs Page

concommand.Remove

NewerShared.png Used by the engine to run a console command's callback function. This will only be called for commands that were added with ConCommand, which concommand.Add calls internally.

boolean concommand.Remove( string cmd )
               
Removes a console command.

Arguments:


  • 1) string cmd
  • The name of the command to be removed.

Returns:


  • 1) boolean
  • true if the console command with the given name exists, and false if it doesn't.