Signature
native console_cmd(id, const cmd[], any:...);
Description
Executes a command from the specified client or the server console.
Parameters
- id — Client index, or 0 to execute from the server console
- cmd — Formatting rules
- ... — Variable number of formatting parameters
Returns
Length of the formatted command