client_cmd
- Синтаксис
-
native client_cmd(index, const command[], any:...);
Переменная | Описание |
---|---|
index |
Client index, use 0 to execute on all clients |
command |
Formatting rules |
... |
Variable number of formatting parameters |
- Описание
- Executes a command on the client.
- Пометка
-
Executing malicious commands on the client ("slowhacking") is frowned upon.
- Пометка
-
Valve has introduced a command filter to Counter-Strike 1.6. It is not possible to execute many commands if the client has opted in to this.
- Возвращает
- Length of formatted command string