SA-MP Forums Archive
Animation problem - 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 problem (/showthread.php?tid=615887)



Animation problem - BrianS123 - 28.08.2016

Hi

I made a (/cuff) cmd with the animation, but if the player got uncuffed, the animation still exist
Код:
ClearAnimation(playerid) // doesn't work - no errors/warrnings but the animation still applied to the player..



Re: Animation problem - Abagail - 28.08.2016

Use SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE) to clear the cuffed animation from the player, it's a special action, not an animation.


Re: Animation problem - BrianS123 - 29.08.2016

ow, thanks i'll try it