server_cmd
- Синтаксис
-
native server_cmd(const command[], any:...);
Переменная | Описание |
---|---|
command |
Formatting rules |
... |
Variable number of formatting parameters |
- Описание
- Queues a command to be executed from the server console.
- Пометка
-
Warning: This is a potential source of command injection. Do not feed client-controlled input (including client names) to this function without sanitizing it first.
- Пометка
-
The queued commands will be executed by the engine on the next frame. If you require them to be executed immediately, see server_exec()
- Возвращает
- Функция ничего не возвращает