Garry's Mod Wiki

Garry's Mod Wiki

  AddConsoleCommand( string name, string helpText, number flags )

Description

This is used internally - although you're able to use it you probably shouldn't. Use concommand.Add instead.

Tells the engine to register a console command. If the command was ran, the engine calls concommand.Run.

Arguments

1 string name
The name of the console command to add.
2 string helpText
The help text.
3 number with FCVAR enum flags
Concommand flags using FCVAR enum

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 four times a day. Edits and history are not available.

Last Parsed: Loading...