forward

CS_InternalCommand

Syntax

forward CS_InternalCommand(id, const cmd[]);

Description

Called when CS internally fires a command to a player.

Parameters

id Client index
cmd Command string

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