28.09.2010, 12:23
pawn Код:
public OnPlayerText(playerid, text[])
{
if(Wired[playerid] == 1)
{
SendClientMessage(playerid, 0xFF3333AA, "You are wired and may not speak!");
return 0;
}
if(strlen(text) >= 5)
{
ApplyAnimation(playerid,"MISC","Idle_Chat_02",4.1,1,1,1,1,6000,1);
}
if(strlen(text) >= 10 && strlen(text) <= 5)
{
ApplyAnimation(playerid,"MISC","Idle_Chat_02",4.1,1,1,1,1,10000,1);
}
return 1;
}
Some help please