12.04.2017, 09:57
I'm not sure how that happens but I recommend you using OnPlayerUpdate for your animation.
You won't have to repeat the anim in OnPlayerTakeDamage and it'll be impossible for the player to get out of the animation or move from their death position.
Example:
Just a thought.
You won't have to repeat the anim in OnPlayerTakeDamage and it'll be impossible for the player to get out of the animation or move from their death position.
Example:
Код:
OnPlayerUpdate(playerid) { if(BodyPart[playerid][Injured]) { ApplyAnimation(playerid, "SWEET", "Sweet_injuredloop", 4.1,1,0,0,0,0,1); } }