In animation at low HP
#1

This is waht I need:

When you reach a low HP, like below 30, you should get forced into a certain animation, you're unable to get out of it, but you can get shot. Animation doesn't matter, I got the good one already, but how to make this?
Reply
#2

Which one you prefer.
https://sampwiki.blast.hk/wiki/SetTimerEx
or
https://sampwiki.blast.hk/wiki/OnPlayerUpdate
Reply
#3

pawn Код:
if(GetPlayerHealth(playerid) < 30) ApplyAnimation(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync);
Chuck that in OnPlayerUpdate/Timer, or a callback where they loose health.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)