UnhookConVarChange Function

Removes a hook for when a console variable's value is changed.

void UnhookConVarChange(Handle convar, ConVarChanged callback)

Parameters

Handle convar

Handle to the convar.

ConVarChanged callback

An OnConVarChanged function pointer.

Errors

Invalid or corrupt Handle, invalid callback function, or no active hook on convar.