Garry's Mod Wiki

AddConsoleCommand

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 flags
Concommand flags using Enums/FCVAR

Page Links


Special Pages


Wikis

?

Render Time: 32ms

DB GetPage 3
Generate Html 7
SaveChanges (1) 8
Render Body 0
Render Sidebar 12