Thread
:
General way of adding a cvar to disable/enable a plugin?
View Single Post
sdz
Senior Member
Join Date: Feb 2012
03-04-2017 , 10:41 Re: General way of adding a cvar to disable/enable a plugin?
#
8
Quote:
Originally Posted by
KarlmitC
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
View Public Profile
Send a private message to sdz
Find More Posts by sdz