Quote:
Originally Posted by EiresJason
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid) { new Float:hp; GetPlayerHealth(playerid,hp); if(hp <= 20) ApplyAnimation(playerid,"CRACK","crckdeth2",4.1,0,1,1,1,1,1); return 1; }
|
I'm afraid they'll zombie walk, or shoot, is there any stuff that can disable them from shooting or walking? Only disable, not remove the weapons.
Oh and how do I make it they will be normal (they can walk) after they have more than 20 health?
EDIT: Can I use TogglePlayerControllable to disable them from walking if they have below than 20 health?