Signature
native get_pcvar_string(pcvar, string[], maxlen);
Description
Returns a string value from a cvar via direct pointer access.
Parameters
- pcvar — Pointer to cvar to retrieve value from
- string — Buffer to copy cvar value to
- maxlen — Maximum size of the buffer
Returns
Number of cells written to buffer.
Errors
-
If an invalid cvar pointer is provided, an error will be
thrown.