Concommand

From GMod Wiki

Jump to: navigation, search

Concommands in this case stand for console commands players can type in their console to trigger an event. Because key binds are simply calling console commands, console commands are also bindable and can be made in the intention of being bound to a key.

The concommand functions handle the creation and deletion of console commands available to players. Concommands can be registered serverside where all players may use them, or can be registered clientside for the use of the client on whom it was created. Clientside console commands can be registered to use an AutoComplete string, table or function, allowing developers to provide users with a list of options they can select by clicking or scrolling through whilst typing arguments to a console command.

Library Functions

NewerShared.png concommand.Add
NewerShared.png concommand.AutoComplete
NewerShared.png concommand.GetTable
NewerShared.png concommand.Remove
NewerShared.png concommand.Run

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox