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



Animation while moving - Lidor124 - 28.09.2013

hey all
I have problem in my server with animations, i'm using function ApplyAnimation.
In my Bank robbery the player needs to plant c4 on the safe, then the animation:

Код:
ApplyAnimation(playerid,"BOMBER","BOM_Plant",4.0,0,0,0,0,0,1);
The problem is if the player was running when the animation should be shown so he "canceled" the animation and he doesn't see the animation.

My question is how to make an animation being shown even the player is on move and stop him from what he doing and do the animation.

Hope you understand what i need help..


Re: Animation while moving - Voxel - 28.09.2013

pawn Код:
ApplyAnimation(playerid,"BOMBER","BOM_Plant",4.0,0,0,0,1,0,1);
you can see i added a 1, that will freeze the player if im correct.
check this:
https://sampwiki.blast.hk/wiki/ApplyAnimation