Raised This Month: $ Target: $400
 0% 

*using plugin_handled


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
biscuit628
Senior Member
Join Date: Jun 2007
Location: 香港HongKong
Old 10-31-2009 , 04:23   Re: noob question, noob title..
Reply With Quote #8

PHP Code:
public plugin_init() 
{
    
register_clcmd("say","sayfunction");
}
        
public 
sayfunction(id)
{
    
//..code
    
return PLUGIN_HANDLED

PHP Code:
//Plugin passes through operation.  Whatever called it continues.
#define PLUGIN_CONTINUE        0
//Plugin halts continued operation (plugins following in the plugins.ini won't be called).
//Whatever called it will eventually supercede.
#define PLUGIN_HANDLED        1
//Continue calling plugins but halt the operation
#define PLUGIN_HANDLED_MAIN    2 
__________________
My Plugins

C4man with fun

Sniper Skill bonus
-------------------------
Sorry for my poor English!
biscuit628 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 17:44.


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