Garry's Mod Wiki

concommand.Remove

concommand.Remove

concommand.Remove( string name )

Description

Removes a console command.

This will not always remove the command from auto-complete.

Issue Tracker: 1183
concommand.Add will fail if the concommand was previously removed with this function in a different realm (creating a command on the client that was removed from the server and vice-versa).

Issue Tracker: 1183

Arguments

1 string name
The name of the command to be removed.

Example

Removes the built-in concommand "gmod_camera" which would normally quickly select the camera swep

concommand.Remove("gmod_camera")

Special Pages


Wikis

?

Render Time: 19ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 6