[FIXED] ClearAnimations not working?
#1

I applied this animation when players press the submission key:

ApplyAnimation(playerid, "PED", "sprint_civi",4.1,1,1,1,1,1);

and when they release it:

ClearAnimations(playerid);

(I've done debugging - it IS getting called okay). But the animation continues..?
Reply
#2

Try to use alternative animation clearing methods such as setting the player's position to his or her current position or applying SPECIAL_ACTION_NONE to the player.
Reply
#3

Ah, I found a fix for it. StopLoopingAnim (some custom function someone made). Thanks anyway.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)