SA-MP Forums Archive
How to Make the Animation Play Only Once? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to Make the Animation Play Only Once? (/showthread.php?tid=300084)



How to Make the Animation Play Only Once? - Compton - 28.11.2011

Hello, well Im trying to make a auto crack command and I found a good animation for this command, but the problem is, if the players gets to the hp level where he is about to go auto cracked, the animation starts to replay alot of times and will never stop, im wondering if it's possible to make the animation play only once?

Код:
ApplyAnimation(playerid, "FINALE", "FIN_LAND_DIE", 4.1,0,1,1,1,1);
-Thank you.


Re: How to Make the Animation Play Only Once? - System64 - 28.11.2011

https://sampwiki.blast.hk/wiki/ApplyAnimation
parameter loop is for that you are asking for.
or try increasing time