17.03.2016, 06:20
pawn Код:
public OnPlayerText(playerid, text[])
{
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
new length = strlen(text), time = (length * 200);
ApplyAnimation(playerid, "PED", "IDLE_CHAT", 4.1, 0, 1, 1, 1, time, 1);
}
return 1;
}