OnClientCommand Forward

Called when a client is sending a command.

As of SourceMod 1.3, the client is guaranteed to be in-game. Use command listeners (console.inc) for more advanced hooks.

Action OnClientCommand(int client, int args)

Parameters

int client

Client index.

int args

Number of arguments.

Return Value

Plugin_Handled blocks the command from being sent, and Plugin_Continue resumes normal functionality.