AMX Mod X API Documentation

Signature
forward CS_InternalCommand(id, const cmd[]);
Description

Called when CS internally fires a command to a player.

Notes
  • This is most notably used by the rebuy/autobuy functionality,

    Condition Zero also uses this to pass commands to bots internally.

Parameters
  • id Client index
  • cmd Command string
Returns

PLUGIN_CONTINUE to let the command continue

PLUGIN_HANDLED to block the command

Назад
Верх