PDA

Просмотр полной версии : [Вопрос] Задний фон в ТД



StevenH
30.03.2017, 19:21
Доброго времени суток. В iPleomax создал небольшой текстдрав для игрока, и почему то в реализации (на сервере), появился откуда то один не нужный черный задний фон. Как можно его убрать?

Код:


gButton[playerid][2] = CreatePlayerTextDraw(playerid, 471.331909, 161.583404, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, gButton[playerid][2], 0.000000, -0.374816);
PlayerTextDrawTextSize(playerid, gButton[playerid][2], 75.937042, 85.000000);
PlayerTextDrawAlignment(playerid, gButton[playerid][2], 1);
PlayerTextDrawColor(playerid, gButton[playerid][2], -1);
PlayerTextDrawUseBox(playerid, gButton[playerid][2], true);
PlayerTextDrawBoxColor(playerid, gButton[playerid][2], 0);
PlayerTextDrawSetShadow(playerid, gButton[playerid][2], 0);
PlayerTextDrawSetOutline(playerid, gButton[playerid][2], 0);
PlayerTextDrawFont(playerid, gButton[playerid][2], 5);
PlayerTextDrawSetPreviewModel(playerid, gButton[playerid][2], 2886);
PlayerTextDrawSetPreviewRot(playerid, gButton[playerid][2], 0.000000, 0.000000, 0.000000, 1.000000);

Скриншот: http://i.imgur.com/u8w2ph4.png

koberman
30.03.2017, 19:33
PlayerTextDrawBackgroundColor(playerid, gButton[playerid][2], 0);