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

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: 28ms

Session 0
DB GetPage 2
Generate Html 3
SaveChanges 8
Render Body 0
Render Sidebar 12