unstopable 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: unstopable animation? (
/showthread.php?tid=650311)
unstopable animation? -
PepsiCola23 - 25.02.2018
How can i make an animation unstopable? I mean if he jumps or sprints the animation is getting canceled,how can i avoid that?
Re: unstopable animation? -
RedFusion - 25.02.2018
Are you running any scripts that cancel animations when a button is pressed? If not, I suppose there is no other way than to simply re-apply the animation
Re: unstopable animation? -
Dayrion - 25.02.2018
Freeze the player during the animation ?
Re: unstopable animation? -
PepsiCola23 - 25.02.2018
its a carry animation,.carrying a bag..and if i reaply it looks so bad cuz he cancels it and then it reapplies...
i`ve seen a server where you couldnt press jump or sprint when the carry anymation was happening.
Re: unstopable animation? -
kingmk - 25.02.2018
Read here.
https://sampwiki.blast.hk/wiki/ApplyAnimation
ApplyAnimation(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync)
Set loop = 1, time = 0, freeze = 1;
Re: unstopable animation? -
RogueDrifter - 25.02.2018
Quote:
Originally Posted by Dayrion
Freeze the player during the animation ?
|
Did you try this ^?
Re: unstopable animation? -
PepsiCola23 - 25.02.2018
solved
used
PHP код:
SetPlayerSpecialAction(playerid, 25);