Question Testing for if a player has the Zombie Blood power-up

Tyne

Known Member
Messages
8
Points
108
Would there be a way to detect if a player has Zombie Blood activated? If so, I'd like to know. Thanks in advance.
 

CF4_99

Veteran
Messages
100
Points
653
This Var is used when zombie blood is activated for a player

Code:
e_player.zombie_vars[ "zombie_powerup_zombie_blood_on" ] = 1;
To see if it is activated on a player just do it like this

Code:
if(isDefined(player.zombie_vars["zombie_powerup_zombie_blood_on"]))
    //Whatever action you want for players with zombie blood
 

Tyne

Known Member
Messages
8
Points
108
This Var is used when zombie blood is activated for a player

Code:
e_player.zombie_vars[ "zombie_powerup_zombie_blood_on" ] = 1;
To see if it is activated on a player just do it like this

Code:
if(isDefined(player.zombie_vars["zombie_powerup_zombie_blood_on"]))
    //Whatever action you want for players with zombie blood
Thanks a lot!
 

Top