Remove 'name' CVar callback?

Posts 1–3 of 3 · Page 1 of 1
Remove 'name' CVar callback?
Code:
Interfaces->Cvar->FindVar("name")->RemoveChangeCallback();
How do I use this? Or is this not the right thing?
Code:
Interfaces->CVar->FindVar("name")->m_fnChangeCallback = NULL
m_fnChangeCallback is a private member go in convar.h find the ConVar class and replace "private" with "public", also I'll be on steam in about an hour if you need any help.
This crashes the game.
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?