Posts: 285
Threads: 44
Joined: Feb 2013
Reputation:
0
How do I make the length of text animation?
Posts: 285
Threads: 44
Joined: Feb 2013
Reputation:
0
Speech by the length of time the animation will be "Los Santos Role Play" from the server's.
Note: Using a dictionary.
Posts: 1,767
Threads: 124
Joined: Mar 2010
You want to create game-text/textdraw and then show each letter every second, or what? If so, use a SetTimer/Ex.
Posts: 285
Threads: 44
Joined: Feb 2013
Reputation:
0
I just want to adjust the length of the animation researched article I found a few examples, but incorrect.
Posts: 1,767
Threads: 124
Joined: Mar 2010
Oh, player animation. Before last parameter in ApplyAnimation is responsible for animation length. Check it on wiki.sa-mp.
Posts: 1,767
Threads: 124
Joined: Mar 2010
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.