concommand.Remove

From Garry's Mod
Jump to: navigation, search
 concommand.Remove( )

Contents

Description

Removes a console command.

BUG

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

Issue Tracker: #1183

BUG

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

string name

The name of the command to be removed.

Examples

Example

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

concommand.Remove("gmod_camera")


Personal tools
Navigation