TextDraw bug - 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 bug (
/showthread.php?tid=392419)
TextDraw bug -
alanhutch - 14.11.2012
Hi, I have a problem with my TextDraws, I get this problem here is a screen.

The code is..
Код:
Textdrawadminsoldi0 = TextDrawCreate(10.000000, 130.000000, "Un~r~ amministratore~w~ ti ha dato dei ~g~soldi.");
TextDrawBackgroundColor(Textdrawadminsoldi0, 255);
TextDrawFont(Textdrawadminsoldi0, 1);
TextDrawLetterSize(Textdrawadminsoldi0, 0.290000, 0.899999);
TextDrawColor(Textdrawadminsoldi0, -1);
TextDrawSetOutline(Textdrawadminsoldi0, 0);
TextDrawSetProportional(Textdrawadminsoldi0, 1);
TextDrawSetShadow(Textdrawadminsoldi0, 1);
TextDrawUseBox(Textdrawadminsoldi0, 1);
TextDrawBoxColor(Textdrawadminsoldi0, 255);
TextDrawTextSize(Textdrawadminsoldi0, 140.000000, 0.000000);
Thank you!
Re: TextDraw bug (REP+) -
iJumbo - 14.11.2012
You need the box? if no turn it of TextDrawUseBox(Textdrawadminsoldi0, 0);
resize it with TextDrawTextSize
Re: TextDraw bug -
alanhutch - 14.11.2012
Oh yes, I need the box.
Re: TextDraw bug -
iJumbo - 14.11.2012
So use TextDrawTextSize to size it ..
Re: TextDraw bug -
[HK]Ryder[AN] - 14.11.2012
pawn Код:
TextDrawBoxColor(Textdrawadminsoldi0, 255);
This line is setting the color of the box to Jet Black.
Change the value of 255 to something else.
Re: TextDraw bug -
alanhutch - 14.11.2012
They do not do any of the two methods .. How can I do otherwise?