[Ajuda] TextDraw
#5

forward RandomTD();
new Text:TextDraw;
new cor =0;

OnGameModeInit()
{
TextDraw= TextDrawCreate(7.000000, 427.000000, "textdraw");
TextDrawBackgroundColor(TextDraw, 255);
TextDrawFont(TextDraw, 1);
TextDrawLetterSize(TextDraw, 0.379999, 1.499999);
TextDrawColor(TextDraw, -1);
TextDrawSetOutline(TextDraw, 1);
TextDrawSetProportional(TextDraw, 1);
}

SetTimer("RandomTD",3000 ,1);// bota essa linha aonde vai comeзar a mudar a textdraw 3000 = 3segundos

public RandomTD()
{
if(cor == 1)TextDrawColor(TextDraw, 0xFF0000AA),cor=0;// vermelho
else TextDrawColor(TextDraw, 0x33AAFFFF),cor= 1;// azul
return 1;
}






Eu jб tentei fazer parecido, acabei de testar o seu, porйm nгo aparece para o player, nem no que eu fiz, nem neste seu :X
Reply


Messages In This Thread
TextDraw - by LucasDias - 30.11.2014, 23:26
Re: TextDraw - by ReyMysterio - 30.11.2014, 23:27
Re: TextDraw - by higorklein - 30.11.2014, 23:45
Re: TextDraw - by focaximubh - 30.11.2014, 23:56
Re: TextDraw - by LucasDias - 01.12.2014, 11:29
Re: TextDraw - by PedexM - 01.12.2014, 13:38
Re: TextDraw - by LucasDias - 01.12.2014, 14:41
Re: TextDraw - by IntelGrapics - 01.12.2014, 15:15
Re: TextDraw - by LucasDias - 01.12.2014, 18:17

Forum Jump:


Users browsing this thread: 1 Guest(s)