TextDraw Help
#1

This is transparent black color textdraw box how could i make it transparent blue ?
Код:
	Wheels[17] = TextDrawCreate(454.500000, 312.500000, "Next");
	TextDrawLetterSize(Wheels[17], 0.265498, 1.385625);
	TextDrawAlignment(Wheels[17], 1);
	TextDrawColor(Wheels[17], -1);
	TextDrawSetShadow(Wheels[17], 0);
	TextDrawSetOutline(Wheels[17], 0);
	TextDrawBackgroundColor(Wheels[17], 255);
	TextDrawFont(Wheels[17], 2);
	TextDrawSetProportional(Wheels[17], 1);
	TextDrawSetShadow(Wheels[17], 0);
Reply
#2

TextDrawBackgroundColor(Wheels[17], 255);


Change the ID To blue color ID.

Red: 0xFF0000FF
White: 0xFFFFFFFF
Yellow: 0xFFFF00FF
Purple: 0x8700FFFF
Green: 0x33A542FF
Blue: 0x0000FFFF
Black: 0x000000FF
Orange: 0xFFA500FF

Код:
 TextDrawBackgroundColor(Wheels[17], 0x0000FFFF);
Reply
#3

I have a doubt how can we know the co-ordinates of screen to make textdraw? Like mostly for speedometer the right end corner.. like that
Reply
#4

ok thanks but it doesn't work
Reply
#5

You said "textdraw box" but you never use: https://sampwiki.blast.hk/wiki/TextDrawUseBox

If set to 1 that the textdraws uses box, you can change the color of it with: https://sampwiki.blast.hk/wiki/TextDrawBoxColor
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)