Page 1 of 1

CS:GO server_cvar event for created ConVar

Posted: Sun May 29, 2016 9:13 pm
by Jake
Is there a way for the server_cvar event to work with custom created cvars?

Re: CS:GO server_cvar event for created ConVar

Posted: Sun May 29, 2016 9:15 pm
by Ayuto
The server_cvar event only gets fired for ConVars that have the NOTIFY flag. I recommend to use OnConVarChanged if you don't want to add that flag.

Re: CS:GO server_cvar event for created ConVar

Posted: Sun May 29, 2016 10:13 pm
by Jake
Gotcha, thanks :smile: