My animations - 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: My animations (
/showthread.php?tid=308837)
My animations -
LiamM - 05.01.2012
Hey guys I have an animation called /crossarms which if you figured makes the player cross his arms, the problem is, when he tries to move using W A S D keys, it makes him turn and face which ever direction he is trying to move, how to I stop this from happening? I want to stop the player from turning whilst using this animation? Thanks in advance.
Re: My animations -
-CaRRoT - 05.01.2012
Show the Code OR Press LMB..Space..Enter , Try such buttons
Re: My animations -
SVRP - 05.01.2012
You can only stop the functions of the keys using:
pawn Код:
TogglePlayerControllable(playerid, false);
If you have a command that resets any animation you have to set this back to 'true', otherwise the player won't be able to move at all.
Re: My animations -
LiamM - 05.01.2012
No its not that, sorry if you did not understand me, they can end the animation fine by clicking LMB. But the problem is when there doing the animation they can turn in any direction they want whilst doing the animation...