SA-MP Forums Archive
Textdraw help - 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 help (/showthread.php?tid=576739)



Textdraw help - zeth98 - 06.06.2015

Hello i made this textdraw and i have a black square the image of textdraw, I want to delete the black square but i don't know how.
I don't use textdrawusebox.

Код HTML:
TextDrawVeh[i] = TextDrawCreate(562.777526, 325.333435, "_");
		TextDrawFont(TextDrawVeh[i], TEXT_DRAW_FONT_MODEL_PREVIEW);
		TextDrawTextSize(TextDrawVeh[i], 78.559295, 80.916648);
		TextDrawSetPreviewRot(TextDrawVeh[i], 0.000000, 0.000000, 320.000000, 1.000000);
onplayerstatechange

Код HTML:
new vehicleid= GetPlayerVehicleID(playerid);
        new modelid = GetVehicleModel(vehicleid);
        TextDrawSetPreviewModel(TextDrawVeh[playerid], modelid);
        TextDrawShowForPlayer(playerid, TextDrawVeh[playerid]);


ignore the text "RND" ,that line transparent and blue text.


Re: Textdraw help - Vince - 06.06.2015

TextDrawBoxColor with transparent background. If that doesn't work also try TextDrawBackgroundColor. I can't remember which one it is, but it's one of those.


Re: Textdraw help - zeth98 - 06.06.2015

and witch color use? 0x000000AA ?


Re: Textdraw help - zeth98 - 06.06.2015

Now is a White square, what color is 100% transparent i want to remove the background or box.


Re: Textdraw help - zeth98 - 06.06.2015

up, everybody know witch is the problem?


Re: Textdraw help - zeth98 - 07.06.2015

up, everybody know witch is the problem?


Re: Textdraw help - JaydenJason - 07.06.2015

0x00000000


Re: Textdraw help - zeth98 - 07.06.2015

not work...


Re: Textdraw help - zeth98 - 07.06.2015

Hei, Check this out, i try the script in samp 0.3z and is work, then i try in 0.3.7 and a black square apear .Something is wrong with 0.3.7? because i copy the textdraw exactly. and in 0.3z is not background and in 0.3.7 is a black background