Raised This Month: $ Target: $400
 0% 

Plugin_handled & main


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Baws
Veteran Member
Join Date: Oct 2012
Old 03-03-2014 , 12:54   Plugin_handled & main
Reply With Quote #1

I know the difference but what's the best to use? Like in all the plugins i see ( Mostly ) they use PLUGIN_HANDLED. So what's the best in the case of Music Player?

Code:
#define PLUGIN_CONTINUE  0    /* Results returned by public functions */ #define PLUGIN_HANDLED    1 /* stop other plugins */ #define PLUGIN_HANDLED_MAIN 2    /* to use in client_command(), continue all plugins but stop the command */
__________________
Like my clean plugins and work?
Baws 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 05:59.


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