07.12.2012, 10:16
I didn't get what are you talking about, but I think you're saying that when a player types something(eg:anim name) and it's length is to your specific value, it'll apply an animation then. If yes, here's a kinda example:
pawn Код:
public OnPlayerText(playerid, text[])
{
if(strfind(text, "Anim", true) != -1 && strlen(text) == 5)
{
//Code here.
}
return 0;
}