View Single Post
Ssand
Member
Join Date: Jan 2017
Old 06-08-2021 , 10:44   Re: ZP Kill bomb for humans
Reply With Quote #7

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