Textdraw issue
#1

Straight to thing:

pawn Код:
td_cb600_Prev[playerid] = CreatePlayerTextDraw(playerid, 226.0, 112.0, "_");
    PlayerTextDrawFont(playerid, td_cb600_Prev[playerid], TEXT_DRAW_FONT_MODEL_PREVIEW);
    PlayerTextDrawUseBox(playerid, td_cb600_Prev[playerid], 1);
    PlayerTextDrawTextSize(playerid, td_cb600_Prev[playerid], 82.0, 117.0);
    PlayerTextDrawSetPreviewModel(playerid, td_cb600_Prev[playerid], 20);
    PlayerTextDrawSetPreviewRot(playerid, td_cb600_Prev[playerid], 0.0, 0.0, 24.0, 0.85);
    PlayerTextDrawColor(playerid, td_cb600_Prev[playerid], 0xFFFFFFFF);
    PlayerTextDrawBoxColor(playerid, td_cb600_Prev[playerid], 0x00000000);
The problem is, that I want to make the background of this textdraw to be fully transparent (BG color: 0x00000000). However, it is still solid black (0x000000FF ?).
When I set PlayerTextDrawColor to, eg. 0xFFFFFF20, entire textdraw being transparent (so not only background, but the image aswell).
Any suggestions how to fix this ?

Greetz,
LetsOWN

Solution: It appears, that removing 'PlayerTextDrawUseBox(playerid, td_cb600_Prev[playerid], 1);' solves this problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)