GetConVarName Function

Retrieves the name of a console variable.

void GetConVarName(Handle convar, char[] name, int maxlength)

Parameters

Handle convar

Handle to the convar.

char[] name

Buffer to store the name of the convar.

int maxlength

Maximum length of string buffer.

Errors

Invalid or corrupt Handle.