get_pcvar_string

Синтаксис

native get_pcvar_string(pcvar, string[], maxlen);

Употреба

pcvar
Pointer to cvar to retrieve value from
string
Buffer to copy cvar value to
maxlen
Maximum size of the buffer

Описание

Returns a string value from a cvar via direct pointer access.

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

Number of cells written to buffer.

Грешка

If an invalid cvar pointer is provided, an error will be
thrown.