Animation [Rep+] - 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 [Rep+] (
/showthread.php?tid=312771)
Animation [Rep+] -
-CaRRoT - 22.01.2012
I Have a problem here , i want to make the animation works and in the same time the player can control it , I Tried this :
PHP код:
ApplyAnimation(playerid,"CARRY","crry_prtial",4.1,1,1,1,0,0);
TogglePlayerControllable(playerid, 1);
, but - the player get frozen while the animation play..any help would be appreciated and Rep +
Re: Animation [Rep+] -
2KY - 22.01.2012
Try this;
pawn Код:
ApplyAnimation(playerid,"CARRY","crry_prtial", 4.1, 0, 0, 0, 0, 0, 1);
Also, take a look at the Apply Animation page on the wiki:
https://sampwiki.blast.hk/wiki/ApplyAnimation
Re: Animation [Rep+] - Guest9328472398472 - 22.01.2012
Or you can click
here.
Re: Animation [Rep+] -
Lilcuete - 22.01.2012
If your trying to make a chat anim like in ls-rp
Put this under OnPlayerText
pawn Код:
new time=strlen(text)*100;
ApplyAnimationEx(playerid,"PED","IDLE_CHAT",4.1,0,1,1,1,1);
SetTimerEx("StopTalking",time,0,"i",playerid);
And this where your functions are.
pawn Код:
forward StopTalking(playerid);
public StopTalking(playerid)
{
ApplyAnimationEx(playerid, "CARRY", "crry_prtial", 2.0, 0, 0, 0, 0, 0);
}