View Single Post
sdz
Senior Member
Join Date: Feb 2012
Old 03-04-2017 , 10:41   Re: General way of adding a cvar to disable/enable a plugin?
Reply With Quote #8

Quote:
Originally Posted by KarlmitC View Post
Yes, I wanted to do it somewhat like that, because the plugin consists of multiple files and I'd need always to check that specific cvar, right?
Yeah, you could run FindConVar on OnAllPluginsLoaded, assign a global Handle to it then HookConVarChange that Handle

Last edited by sdz; 03-04-2017 at 10:41.
sdz is offline