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.|
concommand.Run( Player player, String commandName, Table :String args )
Where is this used?
|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.|
|Part of Library:||concommand|
|BBCode Link:||[b][url=http://wiki.garrysmod.com/?title=Concommand.Run]Concommand.Run [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]|
- To run a console command on the server, use game.ConsoleCommand, or to run a console command on the player, use Player.ConCommand.