Raised This Month: $ Target: $400
 0% 

pause plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 03-28-2017 , 11:12   Re: pause plugin
Reply With Quote #1

Code:
/* Pauses function or plugin so it won't be executed. * In most cases param1 is name of function and * param2 name of plugin (all depends on flags). * Flags: * "a" - pause whole plugin. * "c" - look outside the plugin (by given plugin name). * "d" - set "stopped" status when pausing whole plugin. *       In this status plugin is unpauseable.  * Example: pause("ac","myplugin.amxx") * * Note: There used to be the b and e flags as well, * which have been deprecated and are no longer used. */ native pause(const flag[], const param1[]="",const param2[]="");
__________________
edon1337 is offline
ish12321
Veteran Member
Join Date: May 2016
Old 03-28-2017 , 11:33   Re: pause plugin
Reply With Quote #2

Quote:
Originally Posted by edon1337 View Post
Code:
/* Pauses function or plugin so it won't be executed. * In most cases param1 is name of function and * param2 name of plugin (all depends on flags). * Flags: * "a" - pause whole plugin. * "c" - look outside the plugin (by given plugin name). * "d" - set "stopped" status when pausing whole plugin. *       In this status plugin is unpauseable.  * Example: pause("ac","myplugin.amxx") * * Note: There used to be the b and e flags as well, * which have been deprecated and are no longer used. */ native pause(const flag[], const param1[]="",const param2[]="");
so is this correct ?
pause("ac", "resetscore.amxx");
and then
unpause("ac", "resetscore.amxx");
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 03-28-2017 , 12:47   Re: pause plugin
Reply With Quote #3

Quote:
Originally Posted by ish12321 View Post
so is this correct ?
pause("ac", "resetscore.amxx");
and then
unpause("ac", "resetscore.amxx");
Yes. I think 'a' flag is not needed.
__________________
edon1337 is offline
Reply



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:57.


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