why the textDraw doesn't show transparant? The color is transparant..
#1

Код:
		Ya[i] = TextDrawCreate(21.000000,102.000000," ");
		TextDrawUseBox(Ya[i],1);
		TextDrawBoxColor(Ya[i],0x00000099);
		TextDrawTextSize(Ya[i],223.000000,0.000000);
		TextDrawAlignment(Ya[i],0);
		TextDrawBackgroundColor(Ya[i],0x000000ff);
		TextDrawFont(Ya[i],1);
		TextDrawLetterSize(Ya[i],0.499999,1.800000);
		TextDrawColor(Ya[i],0xffffffff);
		TextDrawSetProportional(Ya[i],1);
		TextDrawSetShadow(Ya[i],1);
This is the TextDraw, the color is transparant, when I made this, it was transparant after save and use isn't it? why?
Reply
#2

pawn Код:
TextDrawColor(Ya[i], 0xffffffff);
0xFFFFFFFF is not transparent, use something like 0xFFFFFF55. Change last two numbers to increase/decrease transparency.
Reply
#3

Quote:
Originally Posted by zee~
pawn Код:
TextDrawColor(Ya[i], 0xffffffff);
0xFFFFFFFF is not transparent, use something like 0xFFFFFF55. Change last two numbers to increase/decrease transparency.
TextDrawBoxColor(Ya[i],0x00000099); This is the box.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)