SA-MP Forums Archive
Able to walk while on anim - 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: Able to walk while on anim (/showthread.php?tid=615980)



Able to walk while on anim - AndreiWow - 29.08.2016

How to make the player to be able to walk while on this anim?
Код:
if(jobduty[playerid] == 1)
		    {
                ApplyAnimation(playerid, "CARRY", "crry_prtial", 12, 1, 0, 0, 0, 0, 1);
		    }



Re: Able to walk while on anim - burhanjaved - 29.08.2016

Quote:
Originally Posted by AndreiWow
Посмотреть сообщение
How to make the player to be able to walk while on this anim?
Код:
if(jobduty[playerid] == 1)
		    {
                ApplyAnimation(playerid, "CARRY", "crry_prtial", 12, 1, 0, 0, 0, 0, 1);
		    }
Hello,

You should try this instead of using Applyanimation:

Код:
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_CARRY);
I think this is what you actually need .


Re: Able to walk while on anim - AndreiWow - 29.08.2016

YES, THANKS GOD! rep+