SA-MP Forums Archive
Anim - 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: Anim (/showthread.php?tid=658609)



Anim - Hunud - 08.09.2018

This animation doesen't even apply long enough (4000ms - 4 seconds)

ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.1, 0, 0, 0, 1, 4000, 1);


Re: Anim - Ciandlah - 08.09.2018

Quote:
Originally Posted by Hunud
View Post
This animation doesen't even apply long enough (4000ms - 4 seconds)

ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.1, 0, 0, 0, 1, 4000, 1);
Set your animation loop to true like so
Code:
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.1, 1, 0, 0, 1, 4000, 1);
Then set a timer to stop the animation after 4 seconds