ExecuteCommand Function

Puts a command in the command queue.

Syntax

void ExecuteCommand(
const string&in input
)

Parameters

const string&in input
The command input. This can be multiple commands separated by ;.

Return value

None.

Remarks

Executes an input, just like if the user typed it in the console. If you need to ensure that the command will be executed immediately and not put in a queue, use the CommandList API.