Textdraws 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Textdraws Help (
/showthread.php?tid=141587)
Textdraws Help -
RichyB - 14.04.2010
Hey.
When I add a textdraw to my server using a built in filterscript which helps create Textdraws I create the textdraw and then put it in my gamemode, I go ingame and see that it says New Textdraw next to the box.
When I remove the New Textdraw text from the script, I load the gamemode up and the textdraw is smaller.
How can I fix this and have only the Box?
Here is one of the textdraws.
Textdraw0 = TextDrawCreate(583.000000, 148.000000, "New Textdraw");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.500000, 1.000000);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 0);
TextDrawSetShadow(Textdraw0, 1);
TextDrawUseBox(Textdraw0, 1);
TextDrawBoxColor(Textdraw0, 255);
TextDrawTextSize(Textdraw0, 414.000000, 501.000000);
Re: Textdraws Help -
adsy - 14.04.2010
use an underscore as your text
Код:
Textdraw0 = TextDrawCreate(583.000000, 148.000000, "_");
underscore turns into a space.