20.09.2010, 15:45
pawn Code:
ApplyAnimation(playerid, "PED", "IDLE_CHAT", 4.0, 0, 0, 0, 0, 0, 1); // onplayertext or whatever
SetTimerEx("StopChat", 1000, false, "i", playerid);
forward StopChat(playerid); // bottom of your script
public StopChat(playerid)
{
return ClearAnimations(playerid);
}
I know it's too much code for one line, but it works.