Disable an entire plugin
I would like to make a cvar g_cvarEnable for example that i can disable the entire plugin with it (or enable). Any help please?
Tried to look inside GunGame and CSDM but found that's is too complicated. |
Re: Disable an entire plugin
bump!
|
Re: Disable an entire plugin
You could check the cvar on every round and save it to a bool then in each function of your plugin return PLUGIN_HANDLED if it's turned off
|
Re: Disable an entire plugin
Quote:
Quote:
|
Re: Disable an entire plugin
Thank you. Got the concept.
|
| All times are GMT -4. The time now is 05:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.