Animation [Rep+]
#1

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(playerid1); 
, but - the player get frozen while the animation play..any help would be appreciated and Rep +
Reply
#2

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
Reply
#3

Or you can click here.
Reply
#4

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);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)