control_pre_command — This hook point occurs prior to the execution of a console command
int **core_control_pre_command** ( | closure, | |
| | cc, | |
| | response
); | |
Given the command console parameter, hooks registered here can perform tasks prior to the built-in console commands, or even bypass the built-in commands completely. For a complete list of the console commands see Console Commands.
A pointer to the closure function.
For a description of this data type see command_construct.
This option provides output handed back to the console client. For a description of this data type see string. This parameter is optional.
1 to skip the default command behavior; any additional pre_command hooks will also be skipped. Return
0 to allow the default command behavior (and any other pre_command hooks) to continue.
This hook will be called in the