console_cmd

Syntax

native console_cmd(id, const cmd[], any:...);

Usage

id
Client index, or 0 to execute from the server console
cmd
Formatting rules
...
Variable number of formatting parameters

Description

Executes a command from the specified client or the server console.

Return

Length of the formatted command