Raised This Month: $ Target: $400
 0% 

[ZP] STOP ZOMBIE INFECTION!!!


Post New Thread Reply   
 
Thread Tools Display Modes
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
Old 04-30-2011, 15:42
Vechta
This message has been deleted by Exolent[jNr]. Reason: Spam
Old 04-30-2011, 15:53
Nightfall1
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 04-30-2011 , 17:09   Re: [ZP] STOP ZOMBIE INFECTION!!!
Reply With Quote #2

You just returning the value "98" how do you expect to stop the infection?
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
SonicSonedit
Veteran Member
Join Date: Nov 2008
Location: Silent Hill
Old 04-30-2011 , 19:35   Re: [ZP] STOP ZOMBIE INFECTION!!!
Reply With Quote #3

Nightfall1
Do you use ZPA?
__________________

SonicSonedit is offline
Nightfall1
Senior Member
Join Date: Aug 2008
Old 05-01-2011 , 06:45   Re: [ZP] STOP ZOMBIE INFECTION!!!
Reply With Quote #4

why do you ask my, that is a diference from original zombie plague and ZPA? any whay I have my own custom change of zombie plague, if there is a probleme with zombie plague adanced plz give my the solution, maybe I do abdul-rehman mistakes
Code:
/**
 * Called on a player infect/cure attempt. You can use this to block
 * an infection/humanization by returning ZP_PLUGIN_HANDLED in your plugin.
 *
 * Note: Right now this is only available after the ZP round starts, since some
 * situations (like blocking a first zombie's infection) are not yet handled.
 */
forward zp_user_infect_attempt(id, infector, nemesis)
__________________
SIGNATURE
Nightfall1 is offline
SonicSonedit
Veteran Member
Join Date: Nov 2008
Location: Silent Hill
Old 05-01-2011 , 10:44   Re: [ZP] STOP ZOMBIE INFECTION!!!
Reply With Quote #5

Nightfall1
ZPA is very buggy. Use ZP4.3 or try to fix the problem itself.
__________________

SonicSonedit 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 02:23.


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