07.07.2009, 06:47
hello, this is very basic, but kinda what your looking for i believe, it gets the number of characters, multiples it by 1000 because the time in milliseconds, so if you say, "hello folks!", your guy have talk animation for 12 seconds or what not, im not sure if its possible or how it would be done yet, but you could run some timers that check keystate and maybe use that to apply the animation while they type
pawn Код:
public OnPlayerText(playerid, text[])
{
new Length = strlen(text);
new aTime = Length*1000;
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,1,1,1,0,aTime);
return 1;
}