Code:
hook_cvar_change(cvar_pcvar, "function");
public function(pcvar, old, newval)
{
client_print(0, print_chat, "%d %d", old, newval);
}
Sorry for not providing earlier. The value printed in chat is not the cvar value (old and new both are diff). Am I doing something wrong?
__________________