SA-MP Forums Archive
Problem with textdraw showing! - 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: Problem with textdraw showing! (/showthread.php?tid=233961)



Problem with textdraw showing! - Pinehole - 02.03.2011

Sometimes I add textdraws with out a box and it shows, but when I add it with a box, it doesn't show?


Re: Problem with textdraw showing! - Luis- - 02.03.2011

A code will help..


Re: Problem with textdraw showing! - Pinehole - 02.03.2011

I defined it...

new Text:Textdraw0;
new Text:Textdraw1;

Here's the code:
Textdraw0 = TextDrawCreate(278.000000,2.000000,"just a test");
Textdraw1 = TextDrawCreate(1.000000,1.000000," ");
TextDrawUseBox(Textdraw0,1);
TextDrawBoxColor(Textdraw0,0x00000099);
TextDrawTextSize(Textdraw0,-123.000000,778.000000);
TextDrawAlignment(Textdraw0,2);
TextDrawAlignment(Textdraw1,0);
TextDrawBackgroundColor(Textdraw0,0x00ff00cc);
TextDrawBackgroundColor(Textdraw1,0x000000ff);
TextDrawFont(Textdraw0,3);
TextDrawLetterSize(Textdraw0,1.000000,11.599999);
TextDrawFont(Textdraw1,3);
TextDrawLetterSize(Textdraw1,1.000000,1.000000);
TextDrawColor(Textdraw0,0xffffffff);
TextDrawColor(Textdraw1,0xffffffff);
TextDrawSetOutline(Textdraw0,1);
TextDrawSetOutline(Textdraw1,1);
TextDrawSetProportional(Textdraw0,1);
TextDrawSetProportional(Textdraw1,1);
TextDrawSetShadow(Textdraw0,1);
TextDrawSetShadow(Textdraw1,1);