22.01.2012, 20:23
If your trying to make a chat anim like in ls-rp
Put this under OnPlayerText
And this where your functions are.
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);
pawn Код:
forward StopTalking(playerid);
public StopTalking(playerid)
{
ApplyAnimationEx(playerid, "CARRY", "crry_prtial", 2.0, 0, 0, 0, 0, 0);
}