[HELP] Talk Animation
#10

Quote:
Originally Posted by happyface
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;
}

Im sure it could be done by how many letters you type in i just dont understand how i could do it,

ApplyAnimation(playerid,"PED","IDLE_CHAT
^This is the right animation im lookiing for, and i need it for after you type whatever you want and the animation happens for however many letters you put in to clear the animations
Reply


Messages In This Thread
[HELP] Talk Animation - by b0r1quajay - 07.07.2009, 04:54
Re: [HELP] Talk Animation - by HydraX - 07.07.2009, 04:56
Re: [HELP] Talk Animation - by Abernethy - 07.07.2009, 04:58
Re: [HELP] Talk Animation - by b0r1quajay - 07.07.2009, 06:05
Re: [HELP] Talk Animation - by b0r1quajay - 07.07.2009, 06:46
Re: [HELP] Talk Animation - by HydraX - 07.07.2009, 06:46
Re: [HELP] Talk Animation - by happyface - 07.07.2009, 06:47
Re: [HELP] Talk Animation - by Ignas1337 - 07.07.2009, 07:15
Re: [HELP] Talk Animation - by happyface - 07.07.2009, 07:26
Re: [HELP] Talk Animation - by b0r1quajay - 07.07.2009, 07:27

Forum Jump:


Users browsing this thread: 5 Guest(s)