27.06.2012, 11:41
Here ya go.
pawn Код:
public OnPlayerText(playerid, text[])
{
new Len = strlen(text);
new chat = (Len * 150);
SetTimerEx("StopTalk", chat, false, "i", playerid);
ApplyAnimation(playerid, "PED","IDLE_CHAT", 4.1, 0, 1, 1, 1, chat, 0);
return 1;
}
{
ApplyAnimation(playerid, "PED", "endchat_01",4.0,1,0,0,0,1);
ClearAnimations(playerid);
return 1;
}