OnPlayerText - Chat Animation
#1

How do I make the length of text animation?
Reply
#2

Be more specific.
Reply
#3

Speech by the length of time the animation will be "Los Santos Role Play" from the server's.

Note: Using a dictionary.
Reply
#4

You want to create game-text/textdraw and then show each letter every second, or what? If so, use a SetTimer/Ex.
Reply
#5

I just want to adjust the length of the animation researched article I found a few examples, but incorrect.
Reply
#6

Oh, player animation. Before last parameter in ApplyAnimation is responsible for animation length. Check it on wiki.sa-mp.
Reply
#7

https://sampforum.blast.hk/showthread.php?tid=113259 - a complete solution, but do not mention here.
Reply
#8

Take it and go away, please...

pawn Код:
public OnPlayerText(playerid, text[])
{
    new AnimTime = strlen(text) * 50;
    ApplyAnimation(playerid, "PED", "IDLE_CHAT", 4.1, 0, 1, 1, 0, AnimTime, 1);
    return true;
}
Next time, be more specific please.
Reply
#9

Very Nice, Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)