AddConsoleCommand

From Garry's Mod
Jump to: navigation, search
 AddConsoleCommand( )

Contents

Description

This is an internal function or feature.
This means you will be able to use it, but you really 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

string name

The name of the console command to add.

Arguments

string helpText

The help text.

Arguments

number flags

Concommand flags using FCVAR_ Enums
Personal tools
Navigation