If low health, goes to anim?
#1

Hello,

I was wondering how do I get it so if a player has say less than 5 or 10 health that they do the crack animation?

Thanks alot
Reply
#2

Make a timer and then use the following to check the users health and if it's below 10, apply the 'crckdeth1' animation.

Код:
new Float: curHealth;
if(GetPlayerHealth(playerid,curHealth) < 10)
  ApplyAnimation(playerid,"CRACK","crckdeth1",4.1,1,1,1,1,1);
Reply
#3

Use https://sampwiki.blast.hk/wiki/OnPlayerUpdate
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)