Raised This Month: $ Target: $400
 0% 

Pausing plugins from other plugins


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
organizedKaoS
Senior Member
Join Date: Feb 2006
Old 03-10-2006 , 22:01  
Reply With Quote #3

Quote:
Originally Posted by Kraugh
use pause's sister function, unpause: http://www.amxmodx.org/funcwiki.php?go=func&id=222
Yes, I know of the unpause option, but according to the wiki, if you use pause("ac", "myplugin.amxx") <---This will no longer be unpauseable. Unless I mistinterpreted it. I basically want to pause a plugin when a certain mode is on in my server, when the mode is off, the plugin will be unpaused. Im not sure if its this way
Code:
if(mymode == 0)            pause("ac", "myplugin.amxx") else            unpause("ac", "myplugin.amxx")
I could be wrong, but in 1.60 this is the way I used to pause other plugins from within other plugins. The wiki said that in that way(above) the plugin will no longer be unpauseable. Any thoughts anyone? Thanks
organizedKaoS is offline
 



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 20:25.


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