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: 38ms

Session 0
DB GetPage 4
Generate Html 12
SaveChanges 9
Render Body 0
Render Sidebar 11