GetConVarString Function

Retrieves the string value of a console variable.

void GetConVarString(Handle convar, char[] value, int maxlength)

Parameters

Handle convar

Handle to the convar.

char[] value

Buffer to store the value of the convar.

int maxlength

Maximum length of string buffer.

Errors

Invalid or corrupt Handle.