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
If an invalid entity index is provided or, if the index is a client index, the client is not connected, an error will be thrown.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.