Raised This Month: $ Target: $400
 0% 

[ZP] STOP ZOMBIE INFECTION!!!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Nightfall1
Senior Member
Join Date: Aug 2008
Old 04-30-2011 , 15:31   [ZP] STOP ZOMBIE INFECTION!!!
Reply With Quote #1

Code:
public zp_user_infect_attempt(id, infector)
{
    if(!g_HasToxic[id])
        return PLUGIN_HANDLED
    return PLUGIN_CONTINUE
}
Code:
public zp_user_infect_attempt(id, infector)
{
    if(g_HasToxic[id])
        return ZP_PLUGIN_HANDLED //97
    return PLUGIN_CONTINUE
}
the frist one work but the second is not working :O is ignore my true g_HasToxic[id]...
why ZP_PLUGIN_HANDLED is not block infection ????
__________________
SIGNATURE
Nightfall1 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 04:19.


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