Txd_InvTest[playerid] = CreatePlayerTextDraw(playerid,209.000000, 131.000000, "New Textdraw");
PlayerTextDrawAlignment(playerid,Txd_InvTest[playerid], 2);
PlayerTextDrawBackgroundColor(playerid,Txd_InvTest[playerid], 0);
PlayerTextDrawFont(playerid,Txd_InvTest[playerid], 5);
PlayerTextDrawLetterSize(playerid,Txd_InvTest[playerid], 0.939999, 4.699999);
PlayerTextDrawColor(playerid,Txd_InvTest[playerid], 0);
PlayerTextDrawSetOutline(playerid,Txd_InvTest[playerid], 0);
PlayerTextDrawSetProportional(playerid,Txd_InvTest[playerid], 0);
PlayerTextDrawSetShadow(playerid,Txd_InvTest[playerid], 1);
PlayerTextDrawUseBox(playerid,Txd_InvTest[playerid], 1);
PlayerTextDrawBoxColor(playerid,Txd_InvTest[playerid], 0x00000000);
PlayerTextDrawTextSize(playerid,Txd_InvTest[playerid], 60.000000, 44.000000);
PlayerTextDrawSetPreviewModel(playerid, Txd_InvTest[playerid], 2814);
PlayerTextDrawSetPreviewRot(playerid, Txd_InvTest[playerid], 300.000000, 0.000000, 270.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid,Txd_InvTest[playerid], 1);
PlayerTextDrawBackgroundColor(playerid,Txd_InvTest[playerid], 0x00000000);
Set the background color to : 0x00000000
Код:
PlayerTextDrawBackgroundColor(playerid,Txd_InvTest[playerid], 0x00000000); |
It's all fine. Well I also encountered that problem a few weeks ago, and I fixed it by setting this:
PlayerTextDrawBackgroundColor = 0x00000000 PlayerTextDrawTextColor = -1 And I've deleted the Box. |