CS_InternalCommand
Syntax
forward CS_InternalCommand(id, const cmd[]);
Usage
| Parameter | Description |
|---|---|
| id | Client index |
| cmd | Command string |
Description
Called when CS internally fires a command to a player.
Note
This is most notably used by the rebuy/autobuy functionality, Condition Zero also uses this to pass commands to bots internally.
Return
PLUGIN_CONTINUE to let the command continue PLUGIN_HANDLED to block the command