unstopable animation?
#1

How can i make an animation unstopable? I mean if he jumps or sprints the animation is getting canceled,how can i avoid that?
Reply
#2

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
Reply
#3

Freeze the player during the animation ?
Reply
#4

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.
Reply
#5

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;
Reply
#6

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
Freeze the player during the animation ?
Did you try this ^?
Reply
#7

solved

used
PHP код:
SetPlayerSpecialAction(playerid25); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)