Quote:
Originally Posted by Celena Luna
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_FindEntityInSphere, victim, originF, NADE_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_Killed, victim, attacker, 0)
g_killedbykillbomb[victim] = 0
static health; health = get_user_health(attacker)
set_user_health(attacker, health+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.