SA-MP Forums Archive
Textdraw - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Textdraw (/showthread.php?tid=402107)



Textdraw - Blackazur - 25.12.2012

Hello, how to make that the Textdraw have an black Background?

Код:
	tTimer = TextDrawCreate(546.000000, 8.000000, "Timer~n~0:00");
	TextDrawBackgroundColor(tTimer, 255);
	TextDrawFont(tTimer, 3);
	TextDrawLetterSize(tTimer, 0.529999, 1.900000);
	TextDrawColor(tTimer, -1);
	TextDrawSetOutline(tTimer, 0);
	TextDrawSetProportional(tTimer, 1);
	TextDrawSetShadow(tTimer, 1);



Re: Textdraw - DaRk_RaiN - 25.12.2012

TextDrawBackgroundColor
And if you mean the box
TextDrawUseBox
TextDrawBoxColor
EDIT here:
pawn Код:
tTimer = TextDrawCreate(546.000000, 8.000000, "Timer~n~0:00");
    TextDrawBackgroundColor(tTimer, 255);
    TextDrawFont(tTimer, 3);
    TextDrawLetterSize(tTimer, 0.529999, 1.900000);
    TextDrawColor(tTimer, -1);
    TextDrawSetOutline(tTimer, 0);
    TextDrawSetProportional(tTimer, 1);
    TextDrawSetShadow(tTimer, 1);
        TextDrawUseBox(tTimer,1);
        TextDrawBoxColor(tTimer,-1);
        TextDrawBackgroundColor(tTimer,0);



AW: Textdraw - Blackazur - 25.12.2012

That work not i want the Textdraw like that, with the black Background:



Because mine is so: