SA-MP Forums Archive
TextDraw box not showing up? - 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 box not showing up? (/showthread.php?tid=229362)



TextDraw box not showing up? - 77ther - 21.02.2011

Well I created textdraw with Zamaroht's textdraw editor, texdraw is showing up when you connect, but the box doesn't show up(it supposed to be big black box which will make whole background black)

PS: TextDrawUseBox is at "1"


Re: TextDraw box not showing up? - Stigg - 21.02.2011

Quote:
Originally Posted by 77ther
Посмотреть сообщение
Well I created textdraw with Zamaroht's textdraw editor, texdraw is showing up when you connect, but the box doesn't show up(it supposed to be big black box which will make whole background black)

PS: TextDrawUseBox is at "1"
Have you set the box's colour ?

Peace...


Re: TextDraw box not showing up? - 77ther - 21.02.2011

Quote:
Originally Posted by Stigg
Посмотреть сообщение
Have you set the box's colour ?

Peace...
TextDrawBoxColor(Textdraw0, 255);
is this box color for black?


Re: TextDraw box not showing up? - Stigg - 21.02.2011

Quote:
Originally Posted by 77ther
Посмотреть сообщение
TextDrawBoxColor(Textdraw0, 255);
is this box color for black?
I use:

TextDrawBoxColor(Blah Blah,0x000000ff); For black.

Hope this helps. If not post the whole textdraw code.

Peace...


Re: TextDraw box not showing up? - 77ther - 21.02.2011

Quote:
Originally Posted by Stigg
Посмотреть сообщение
I use:

TextDrawBoxColor(Blah Blah, 170); For black.

Hope this helps. If not post the whole textdraw code.

Peace...
pawn Код:
Textdraw101 = TextDrawCreate(660.000000, 0.000000, "New Textdraw");
    TextDrawAlignment(Textdraw101, 3);
    TextDrawBackgroundColor(Textdraw101, 255);
    TextDrawFont(Textdraw101, 1);
    TextDrawLetterSize(Textdraw101, 0.500000, 51.000000);
    TextDrawColor(Textdraw101, -1);
    TextDrawSetOutline(Textdraw101, 0);
    TextDrawSetProportional(Textdraw101, 1);
    TextDrawSetShadow(Textdraw101, 1);
    TextDrawUseBox(Textdraw101, 1);
    TextDrawBoxColor(Textdraw101, 0x000000ff);
    TextDrawTextSize(Textdraw101, 0.000000, 0.000000);
Textdraws made with Zamahrot's TD editor