client_command
Core (amxmodx.inc)
Description
client_command - Called when a client sends a command.
Syntax
client_command ( id )
Type
Forward
Notes
Called on ClientCommand().

id is a player index from 1 to 32.

You can retrieve the command and its parameters with read_argv, read_args, and read_argc.