View Single Post
psychonic

BAFFLED
Join Date: May 2008
Old 02-07-2018 , 13:24   Re: OnQueryCvarValueFinished never gets called
Reply With Quote #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 is offline