concommand.Run
From GMod Wiki
(Redirected from G.engineConsoleCommand)
Engine Function: concommand.Run | |
concommand.Run is an internal function called by the engine. Do not call it. |
Function | |
Syntax |
concommand.Run( Player player, String commandName, Table :String args ) Where is this used? |
Description: | |
The engine uses this command to run a console command's function that was added with concommand.Add. This function returns true if the console command by name commandName exists, and returns false with an error message if it doesn't. | |
Returns: | Boolean |
Part of Library: | concommand |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Concommand.Run]Concommand.Run [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Additional Notes
- To run a console command on the server, use game.ConsoleCommand, or to run a console command on the player, use Player.ConCommand.