ConVar.AddChangeHook Method

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

void AddChangeHook(ConVarChanged callback)

Parameters

ConVarChanged callback

An OnConVarChanged function pointer.