TextDraw Problem
#1

How i can remove the black backgound when i create a TextDraw with a object ?

Photo: http://imgur.com/J8HaL08
Reply
#2

Set the box color to 0 0 0 or unknown color and its going to be with UNKNOWN color which means, No colors such as black are going to appear
Reply
#3

try setting textdrawbackgroundcolor or textdrawboxcolor's color if that didn't work to
pawn Код:
0xFFFFFF00
Reply
#4

There are my lines. No TextDrawBackGroundColor.

Код HTML:
   img = TextDrawCreate(485.600036, 285.973449, "LD_SPAC:white");
 TextDrawLetterSize(img, -0.005599, -1.940265);
 TextDrawTextSize(img, 67.999969, 65.706649);
 TextDrawAlignment(img, 2);
 TextDrawColor(img, -1);
 TextDrawBoxColor(img, 102);
 TextDrawSetShadow(img, 0);
 TextDrawSetOutline(img, 0);
 TextDrawFont(img, 5);
 TextDrawSetPreviewModel(img, 411);
 TextDrawSetPreviewRot(img, 356.000000, -1.000000, 0.000000, 1.000000);
Reply
#5

then, the box's color - textdrawboxcolor
Reply
#6

Yep. I know, i try to remove it, to change the color, but the black is still there.
Reply
#7

not removing it...
look, just add this to your textdraw:
pawn Код:
TextDrawSetShadow(img, 0xFFFFFF00);
the box color code, just update it so it will be
pawn Код:
TextDrawBoxColor(img, 0xFFFFFF00);
Reply
#8

Quote:
Originally Posted by Sawalha
Посмотреть сообщение
not removing it...
look, just add this to your textdraw:
pawn Код:
TextDrawSetShadow(img, 0xFFFFFF00);
the box color code, just update it so it will be
pawn Код:
TextDrawBoxColor(img, 0xFFFFFF00);
I don't know man. Try to take the lines to place in a test gamemod to see, cauze at me, that didn't work. I really don' t know why.
Reply
#9

PHP код:
img TextDrawCreate(485.600036285.973449"LD_SPAC:white");
TextDrawLetterSize(img, -0.005599, -1.940265);
TextDrawTextSize(img67.99996965.706649);
TextDrawAlignment(img2);
TextDrawColor(img, -1);
TextDrawBoxColor(img102);
TextDrawSetShadow(img0);
TextDrawSetOutline(img0);
TextDrawFont(img5);
TextDrawSetPreviewModel(img411);
TextDrawSetPreviewRot(img356.000000, -1.0000000.0000001.000000);
TextDrawSetBackgroundColor(img,0x00000000); 
Try this.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)