Garry's Mod Wiki

Garry's Mod Wiki

  concommand.Remove( string name )

Description

Removes a console command.

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...