get_info_keybuffer
- Синтаксис
-
native get_info_keybuffer(id, buffer[], length);
Переменная | Описание |
---|---|
id |
Server/client index |
buffer |
Buffer to copy keybuffer to |
length |
Maximum size of buffer |
- Описание
- Retrieves keyvalue buffer from a client or the server.
- Пометка
-
There are three different types of keyvalue buffers, depending on the index passed: -1 - "local" buffer (various server information and config values) 0 - server buffer (usually contains "*gamedir" only) >0 - client buffer ("name", "rate" and other client info)
- Пометка
-
The buffer is formatted as "\key1\value1\key2\value2\...\keyN\valueN"
- Возвращает
- Number of cells written to buffer