client_print
- Синтаксис
-
native client_print(index, type, const message[], any:...);
Переменная | Описание |
---|---|
index |
Client index, use 0 to display to all clients |
type |
Message type, see print_* destination constants in amxconst.inc |
message |
Formatting rules |
... |
Variable number of formatting parameters |
- Описание
- Sends a message to the client.
- Пометка
-
This functions return value behaves differently depending on what is used as the client index: If 0 is specified, then the function will return 0 if nothing has been sent (no client connected). If either a single client is specified or there is at least one client connected, the number of printed characters will refer to the message that is sent last, to the client with the highest index.
- Возвращает
- Number of printed characters