Garry's Mod Wiki

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")

Page Links


Special Pages


Wikis

?

Render Time: 190ms

DB GetPage 114
Generate Html 2
SaveChanges (1) 61
Render Body 0
Render Sidebar 11