Raised This Month: $ Target: $400
 0% 

enable/disable whole plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-12-2017 , 10:14   Re: enable/disable whole plugin
Reply With Quote #10

And how do you expect a paused plugin to unpause itself? That's not possible. Either use the amx_pausecfg command, or you will need to add a bunch of checks for every piece of code inside the plugin.
@edon1337 - there's no point of using a cvar that can be changed only when the server restarts, neither would it work if you put in in plugin_init.
__________________

Last edited by OciXCrom; 03-12-2017 at 10:15.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode