Textdraw Background Transparency?
#1

Hi,

So I have this:
pawn Код:
PocketSlot[playerid][i] = CreatePlayerTextDraw(playerid, 180.000000, 390.000000, "_");
PlayerTextDrawFont(playerid, PocketSlot[playerid][i], TEXT_DRAW_FONT_MODEL_PREVIEW);
PlayerTextDrawUseBox(playerid, PocketSlot[playerid][i], 1);
PlayerTextDrawBoxColor(playerid, PocketSlot[playerid][i], 0x00000096);
PlayerTextDrawTextSize(playerid, PocketSlot[playerid][i], 50.000000, 50.000000);
PlayerTextDrawSetPreviewModel(playerid, PocketSlot[playerid][i], 2601);
PlayerTextDrawSetPreviewRot(playerid, PocketSlot[playerid][i], -10.0, 0.0, -20.0, 1.0);
PlayerTextDrawSetSelectable(playerid, PocketSlot[playerid][i], 0);
And for some reason, no matter what I set the colour to, it is always a big black square. I even tried setting it to a blue square and it still appeared as a black one. Ideally I want a slightly transparent black square. But I don't want to just fix this problem, I want to understand where I am going wrong.

I hope this makes sense.

Warm Regards

Matt
Reply


Messages In This Thread
Textdraw Background Transparency? - by Shoulen - 24.02.2014, 19:59
Respuesta: Textdraw Background Transparency? - by OTACON - 24.02.2014, 20:04
Re: Textdraw Background Transparency? - by AlonzoTorres - 24.02.2014, 20:06
Re: Textdraw Background Transparency? - by Shoulen - 24.02.2014, 20:11
Re: Textdraw Background Transparency? - by AlonzoTorres - 24.02.2014, 20:16
Re: Textdraw Background Transparency? - by Shoulen - 24.02.2014, 20:18
Re: Textdraw Background Transparency? - by AlonzoTorres - 24.02.2014, 20:19
Re: Textdraw Background Transparency? - by Shoulen - 24.02.2014, 20:25

Forum Jump:


Users browsing this thread: 3 Guest(s)