Thread
:
OnQueryCvarValueFinished never gets called
View Single Post
psychonic
BAFFLED
Join Date: May 2008
02-07-2018 , 13:24 Re: OnQueryCvarValueFinished never gets called
#
4
If the ConVar has the userinfo flag set on it, you can use GetClientConVarValue and watch for changed by hooking IServerGameClients::ClientSettingsChanged.
If it does not, you have to poll the way you're doing now, with no direct way to get notified of changes.
You can find a list of these vars by issuing "findflags userinfo" in the client console.
Last edited by psychonic; 02-07-2018 at
13:24
.
psychonic
View Public Profile
Send a private message to psychonic
Visit psychonic's homepage!
Find More Posts by psychonic