SA-MP Forums Archive
Stopping animation without stopping the player - 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: Stopping animation without stopping the player (/showthread.php?tid=300842)



Stopping animation without stopping the player - Johndaonee - 02.12.2011

This is how it goes, the player talks & onplayertext is called, it adds an animation to the player so it looks realistic and then a timer is set to reset his animation so he wont keep on talking.

Now if the player runs or walks after he said something it will stop him while he is moving for a second due to it running some animation to stop his talking anim, is it possible to remove animations from a player without stopping him? If this wasn't explained deep enough then please tell me

This is how it resets the anim though
pawn Код:
ClearAnimations(playerid);
ApplyAnimation(playerid, "CARRY", "crry_prtial", 2.0, 0, 0, 0, 0, 0);
if anybody has a better solution then please share!


Re: Stopping animation without stopping the player - Lilcuete - 30.12.2011

pawn Код:
ApplyAnimation(playerid, "CARRY", "crry_prtial",4.1,0,1,1,1,1);
Tell me if this works guso .