Textdraw question
#1

How do I animate a textdraw like that exactly?

https://www.youtube.com/watch?v=goJ5...ature=*********
Reply
#2

That wasn't animated textdraw, you just do in resizing TextDraw Font and make it a timer for switching the TextDraw between TextDraw 1 and TextDraw 2 which is having different fontsize
Reply
#3

I made this textdraw
Код:
Textdraw0 = TextDrawCreate(301.000000, 100.000000, "+");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 2);
TextDrawLetterSize(Textdraw0, 0.449999, 2.099999);
TextDrawColor(Textdraw0, 227526655);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
But I don't know how do I exactly modify it,

If you can please explain into more details on how and where to do what.
Reply
#4

you can simply make a cmd that does so or a timer,it depends.

simply use one of them ,for example

PHP код:
YCMD:textdrawcolor(playeridparams[], help)
{
    
TextDrawColor(Textdraw0, ....);
    return 
1;

Reply
#5

I tried but It didn't work out exactly, I'm not very good with timers either. I'm trying to make the exact same Textdraw anim as on the video.
Reply
#6

you have to use 3 different textdraws with same options exempt sizes.
than you have to display these textdraws with timers (for animate)
Reply
#7

Do I use settimer or settimer ex?
Reply
#8

Quote:
Originally Posted by ivndosos
Посмотреть сообщение
Do I use settimer or settimer ex?
you have to use SetTimerEx cuz you need params as playerid.
Reply
#9

Okay I'll try that, I'll inform you if I encounter any problems.
Reply
#10

okay I'm waiting for u.
by the way you can create one textdraw and resize it with timers, but it must be playertextdraw.

p.s. I traced another problem which I already fixed in your past thread - http://forum.sa-mp.com/showpost.php?...7&postcount=21

EDIT: I have to go and will be back in 2/3 hrs sry
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)