get_key_value

Синтаксис

native get_key_value(const pbuffer, const key[], const value[], const maxlen);

Употреба

pbuffer
Pointer to buffer
key
Key string
value
Buffer to copy value to
maxlen
Maximum size of the buffer

Описание

Gets value for key in buffer

Връщаща стойност

Number of cells written to buffer

Грешка

If the index is not within the range of 1 to MaxClients or
the client is not connected, an error will be thrown.