Can't change color of textdraw
#1

Hi guyz,

I can't set opacity on playertextdraw. I tried this:
Код:
TD_Registracija[playerid][26] = CreatePlayerTextDraw(playerid, 224.799987, 110.506668, "LD_SPAC:white");
	PlayerTextDrawLetterSize(playerid, TD_Registracija[playerid][26], 0.000000, 0.000000);
	PlayerTextDrawTextSize(playerid, TD_Registracija[playerid][26], 171.200012, 21.653320);
	PlayerTextDrawAlignment(playerid, TD_Registracija[playerid][26], 1);
	PlayerTextDrawColor(playerid, TD_Registracija[playerid][26], 0xFFFFFF22);
	PlayerTextDrawSetShadow(playerid, TD_Registracija[playerid][26], 0);
	PlayerTextDrawSetOutline(playerid, TD_Registracija[playerid][26], 0);
	PlayerTextDrawFont(playerid, TD_Registracija[playerid][26], 4);
	PlayerTextDrawSetSelectable(playerid, TD_Registracija[playerid][26], true);
but it's only set white color, or if I put 0x00000022, it set black color, without transparency. Why?
Reply
#2

What color You want ?
Reply
#3

White, full transparent. Only on my select, I'll change color of textdraw.
Reply
#4

PlayerTextDrawColor(playerid, TD_Registracija[playerid][26], 0xFFFFFF22);
PlayerTextDrawColor(playerid, TD_Registracija[playerid][26], 0xFFFFFF90);
Reply
#5

Still same, still full color, no matter what I put on 0xFFFFFFHERE
Reply
#6

Try this :- 0xRRGGBB00
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)