Thank you, but that will set the SH powers if the guy is a zombie, but I want it to be only on humans.
The survivor check doesn't work, since it is only the last man standing which becomes a survivor, all others are humans, and there are no checks for that, which is why I did this:
PHP Code:
set_power(id)
{
if (zp_get_user_zombie(id) && zp_get_user_nemesis(id)) return
if (gHasTest[id] && is_user_alive(id))
{
sh_set_hero_hpap(gHeroID, pcvarHealth, pcvarArmor)
}
}
So survivors and humans get powers, but it still wont work. If I remove
PHP Code:
if (zp_get_user_zombie(id) && zp_get_user_nemesis(id)) return
it works, and sets the hero powers, but then zombies get the power too, which I do not want.
__________________