[Ajuda] TextDraw com sombra estranha
#3

Quote:
Originally Posted by Edu33
Посмотреть сообщение
pawn Код:
TextDrawBackgroundColor(Datum,0x000000AA);
Retire isso. ou modifica a cor, coloca um branco que fica massa ae
0xFAFAFAFF <<< cor branca
Tem sу um probleminha, eu confundi os cуdigos aqui, o certo й esse:

pawn Код:
new Text:Datum;
new year,month,day;
getdate(year,month,day);
if (day <= 9){format(string2,25,"0%d.%d.%d",day,month,year);}
else if (month <= 9 && day >= 9) {format(string2,25,"%d/0%d/%d",day,month,year);}
else {format(string2,25,"%d.%d.%d",day,month,year);}
TextDrawHideForAll(Datum);
Datum=TextDrawCreate(29.000000, 429.000000,string2);
TextDrawBackgroundColor(Datum, 255);
TextDrawFont(Datum, 2);
TextDrawLetterSize(Datum, 0.500000, 1.000000);
TextDrawColor(Datum, 1431655935);
TextDrawSetOutline(Datum, 0);
TextDrawSetProportional(Datum, 1);
TextDrawSetShadow(Datum, 1);
TextDrawSetOutline(Datum,2);
TextDrawShowForAll(Datum);

return 1;
}
Reply


Messages In This Thread
[Ajuda] TextDraw com sombra estranha - by MatheusgabrielDS - 18.04.2012, 01:14
Re: [Ajuda] TextDraw com sombra estranha - by Edu33 - 18.04.2012, 01:21
Re: [Ajuda] TextDraw com sombra estranha - by MatheusgabrielDS - 18.04.2012, 01:26
Re: [Ajuda] TextDraw com sombra estranha - by Edu33 - 18.04.2012, 02:00

Forum Jump:


Users browsing this thread: 1 Guest(s)