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



Apply Animation - AroseKhanNiazi - 06.03.2015

pawn Код:
ApplyAnimation(playerid,"MISC","pickup_box",2.5,0,0,0,0,3);
can someone explain how can i add the animation that locks player x,y and does the animation slowly like take upto 2-3 secs till animation ends. btw idk why the animation even doesn't apply and more over i have only this line in my gamemode+fs related to animations.


Re: Apply Animation - Mark_Samp - 06.03.2015

PHP код:
ApplyAnimation(playerid,"MISC","pickup_box",2.5,0,0,0,2,3
Change the animation timer
https://sampwiki.blast.hk/wiki/ApplyAnimation


Re: Apply Animation - AroseKhanNiazi - 06.03.2015

Quote:
Originally Posted by Mark_Samp
Посмотреть сообщение
PHP код:
ApplyAnimation(playerid,"MISC","pickup_box",2.5,0,0,0,2,3
Change the animation timer
https://sampwiki.blast.hk/wiki/ApplyAnimation
You even changed the wrong parameters i did read that wiki 20 times


Re: Apply Animation - AroseKhanNiazi - 06.03.2015

Quote:
Originally Posted by ******
Посмотреть сообщение
Sometimes you need to apply an animation multiple times if the library isn't loaded.
thanks so now i atleast know that why loading library is important.