Raised This Month: $ Target: $400
 0% 

Pausing plugins from other plugins


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Kraugh
Senior Member
Join Date: Jan 2006
Location: barrington, ri
Old 03-10-2006 , 23:12  
Reply With Quote #4

it is an error in the wiki. examine the previous native header from the include:

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. * "b" - pause function. * "c" - look outside the plugin (by given plugin name). * "d" - set "stopped" status when pausing whole plugin. * "e" - set "locked" status when pausing whole plugin. *       In this status plugin is unpauseable. * Example: pause("ac","myplugin.amx") *          pause("bc","myfunc","myplugin.amx") */ native pause(flag[], const param1[]="",const param2[]="");

it is clear that it was meant to look like this:
Code:
/* * "e" - set "locked" status when pausing whole plugin. *       In this status plugin is unpauseable. */

because "e" was deprecated, they removed only one of those lines from the wiki, and also there is no formatting in the wiki, so now it looks like this:

Code:
/* In this status plugin is unpauseable. Example: pause("ac","myplugin.amx") */

sorry if i'm making things sound too complicated. in short, it is now impossible to make plugins unpausable, and they forgot to remove all references from the wiki.
__________________
"You can not restrain a fool from speaking, but nothing obliges you to listen."
Kraugh is offline
Send a message via AIM to Kraugh
 



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