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



Textdraw Big - Kyle - 17.09.2009

The box is to big i only want it so the box just goes aorund the text

Quote:

txtTypeTest = TextDrawCreate(500.0, 320.0," ~y~GAMBLING AREA ~n~~w~Welcome to the gambling~n~ area ~n~Gambling is at your ~r~own~n~ risk~n~ ~w~Call the quit line on ~r~69-999");
TextDrawUseBox(txtTypeTest, 1);
TextDrawFont(txtTypeTest, 1);
TextDrawLetterSize(txtTypeTest, 0.2, 0.75);
TextDrawSetShadow(txtTypeTest,1); // no shadow
TextDrawSetOutline(txtTypeTest,1); // thickness 1
TextDrawBackgroundColor(txtTypeTest,0x000000FF);
TextDrawBoxColor(txtTypeTest,0x00000071);
TextDrawAlignment(txtTypeTest,2); // align right.




Re: Textdraw Big - Kyle - 17.09.2009

Anyone know how to fix?


Re: Textdraw Big - cluber - 17.09.2009

Remove all text, and replace with "test" and see if that is the problem.


Re: Textdraw Big - Kyle - 17.09.2009

Its still the same


Re: Textdraw Big - » sTeVe - 17.09.2009

Ehm ... i'm not sure, i never scripted anything for 0.3, but try to use
pawn Код:
TextDrawTextSize(TextDrawName, size, size);
Try it out which size you need. ^^


Re: Textdraw Big - cluber - 17.09.2009

That looks promising steve, i must say.