SA-MP Forums Archive
Anim speed or second? QUESTION! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Anim speed or second? QUESTION! (/showthread.php?tid=144154)



Anim speed or second? QUESTION! - Mechscape - 25.04.2010

OnePlayAnim(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0);

It's on ApplyAnimation.

It can be make, he do anim 10 seconds.

I have robshop command, theres:
Код:
// Freeze 10 sec
OnePlayAnim(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0); // It need be animed 10 second
// Unfreeze, when 10 sec is done
But that anim does it 2-3 sec, i want just 10 sec

HOW? Thanks.


Re: Anim speed or second? QUESTION! - Lorenc_ - 25.04.2010

prbally should change 4.0 to 10.0 otherwise that dont work research more on the wiki
https://sampwiki.blast.hk/wiki/ApplyAnimation


Re: Anim speed or second? QUESTION! - Mechscape - 26.04.2010

Nope. its ,0); << Milliseconds.


Re: Anim speed or second? QUESTION! - Lorenc_ - 26.04.2010

ohh whoops i thought i was right..