Talking Animation OnPlayerText based with length of the message.
#3

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;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)