Raised This Month: $ Target: $400
 0% 

ZP Kill bomb for humans


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Ssand
Member
Join Date: Jan 2017
Old 06-08-2021 , 10:44   Re: ZP Kill bomb for humans
Reply With Quote #6

Quote:
Originally Posted by Celena Luna View Post
It is not a bug. That is how it work
What the plugin does is the nade will kill 1 random Zombie in range and give the killer 10000 HP (HP Cvar: zp_killbomb_hp)

If you still have the default Flare Nade plugin of ZP running, disable it
Both use Smoke Grenade so it got overlap.

PHP Code:
    while((victim engfunc(EngFunc_FindEntityInSpherevictimoriginFNADE_EXPLOSION_RADIUS)) != 0)
    {
        if(!
is_user_alive(victim) || !zp_get_user_zombie(victim) || zp_get_user_nemesis(victim))
            continue
        
        
g_killedbykillbomb[victim] = 1
        ExecuteHamB
(Ham_Killedvictimattacker0)
        
g_killedbykillbomb[victim] = 0
        
        
static healthhealth get_user_health(attacker)
        
set_user_health(attackerhealth+get_pcvar_num(cvar_bonushp))
    } 
i got a problem, it works in two rounds or one and then it comes back as a light, but it doesn't turn on even though Flare Nade is disabled.
Ssand 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 02:34.


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