столкнулся с такой проблемой, сделал текстдрав, все оформил и в TDE выглядит хорошо, но если я его переношу в самп выходит это
хотя должно выходить это (левое и правое не учитывается, так как они если у человека 2 и 3 персонажа соответственно)
пометка: logos:lspd - взято для 0.3дл так как сервер стоит на нем, все текстдравы делались на 0.3.7 так как 0.3дл версии не нашел
хотя должно выходить это (левое и правое не учитывается, так как они если у человека 2 и 3 персонажа соответственно)
код:
new PlayerText:select_char_TD[MAX_PLAYERS][9];
select_char_TD[playerid][0] = CreatePlayerTextDraw(playerid, 250.000000, 150.000000, "Preview_Model");
PlayerTextDrawFont(playerid, select_char_TD[playerid][0], 5);
PlayerTextDrawLetterSize(playerid, select_char_TD[playerid][0], 0.600000, 2.000000);
PlayerTextDrawTextSize(playerid, select_char_TD[playerid][0], 112.500000, 150.000000);
PlayerTextDrawSetOutline(playerid, select_char_TD[playerid][0], 0);
PlayerTextDrawSetShadow(playerid, select_char_TD[playerid][0], 0);
PlayerTextDrawAlignment(playerid, select_char_TD[playerid][0], 1);
PlayerTextDrawColor(playerid, select_char_TD[playerid][0], -1);
PlayerTextDrawBackgroundColor(playerid, select_char_TD[playerid][0], 125);
PlayerTextDrawBoxColor(playerid, select_char_TD[playerid][0], 255);
PlayerTextDrawUseBox(playerid, select_char_TD[playerid][0], 0);
PlayerTextDrawSetProportional(playerid, select_char_TD[playerid][0], 0);
PlayerTextDrawSetSelectable(playerid, select_char_TD[playerid][0], 1);
PlayerTextDrawSetPreviewModel(playerid, select_char_TD[playerid][0], 0);
PlayerTextDrawSetPreviewRot(playerid, select_char_TD[playerid][0], -10.000000, 0.000000, -20.000000, 1.000000);
PlayerTextDrawSetPreviewVehCol(playerid, select_char_TD[playerid][0], 1, 1);
select_char_TD[playerid][1] = CreatePlayerTextDraw(playerid, 100.000000, 150.000000, "Preview_Model");
PlayerTextDrawFont(playerid, select_char_TD[playerid][1], 5);
PlayerTextDrawLetterSize(playerid, select_char_TD[playerid][1], 0.600000, 2.000000);
PlayerTextDrawTextSize(playerid, select_char_TD[playerid][1], 112.500000, 150.000000);
PlayerTextDrawSetOutline(playerid, select_char_TD[playerid][1], 0);
PlayerTextDrawSetShadow(playerid, select_char_TD[playerid][1], 0);
PlayerTextDrawAlignment(playerid, select_char_TD[playerid][1], 1);
PlayerTextDrawColor(playerid, select_char_TD[playerid][1], -1);
PlayerTextDrawBackgroundColor(playerid, select_char_TD[playerid][1], 125);
PlayerTextDrawBoxColor(playerid, select_char_TD[playerid][1], 255);
PlayerTextDrawUseBox(playerid, select_char_TD[playerid][1], 0);
PlayerTextDrawSetProportional(playerid, select_char_TD[playerid][1], 0);
PlayerTextDrawSetSelectable(playerid, select_char_TD[playerid][1], 1);
PlayerTextDrawSetPreviewModel(playerid, select_char_TD[playerid][1], 0);
PlayerTextDrawSetPreviewRot(playerid, select_char_TD[playerid][1], -10.000000, 0.000000, -20.000000, 1.000000);
PlayerTextDrawSetPreviewVehCol(playerid, select_char_TD[playerid][1], 1, 1);
select_char_TD[playerid][2] = CreatePlayerTextDraw(playerid, 400.000000, 150.000000, "Preview_Model");
PlayerTextDrawFont(playerid, select_char_TD[playerid][2], 5);
PlayerTextDrawLetterSize(playerid, select_char_TD[playerid][2], 0.600000, 2.000000);
PlayerTextDrawTextSize(playerid, select_char_TD[playerid][2], 122.000000, 150.000000);
PlayerTextDrawSetOutline(playerid, select_char_TD[playerid][2], 0);
PlayerTextDrawSetShadow(playerid, select_char_TD[playerid][2], 0);
PlayerTextDrawAlignment(playerid, select_char_TD[playerid][2], 1);
PlayerTextDrawColor(playerid, select_char_TD[playerid][2], -1);
PlayerTextDrawBackgroundColor(playerid, select_char_TD[playerid][2], 125);
PlayerTextDrawBoxColor(playerid, select_char_TD[playerid][2], 255);
PlayerTextDrawUseBox(playerid, select_char_TD[playerid][2], 0);
PlayerTextDrawSetProportional(playerid, select_char_TD[playerid][2], 0);
PlayerTextDrawSetSelectable(playerid, select_char_TD[playerid][2], 1);
PlayerTextDrawSetPreviewModel(playerid, select_char_TD[playerid][2], 0);
PlayerTextDrawSetPreviewRot(playerid, select_char_TD[playerid][2], -10.000000, 0.000000, -20.000000, 1.000000);
PlayerTextDrawSetPreviewVehCol(playerid, select_char_TD[playerid][2], 1, 1);
select_char_TD[playerid][3] = CreatePlayerTextDraw(playerid, 298.000000, 281.000000, "logos:lspd");
PlayerTextDrawFont(playerid, select_char_TD[playerid][3], 4);
PlayerTextDrawLetterSize(playerid, select_char_TD[playerid][3], 0.600000, 2.000000);
PlayerTextDrawTextSize(playerid, select_char_TD[playerid][3], 16.000000, 16.000000);
PlayerTextDrawSetOutline(playerid, select_char_TD[playerid][3], 1);
PlayerTextDrawSetShadow(playerid, select_char_TD[playerid][3], 0);
PlayerTextDrawAlignment(playerid, select_char_TD[playerid][3], 1);
PlayerTextDrawColor(playerid, select_char_TD[playerid][3], -1);
PlayerTextDrawBackgroundColor(playerid, select_char_TD[playerid][3], 255);
PlayerTextDrawBoxColor(playerid, select_char_TD[playerid][3], 50);
PlayerTextDrawUseBox(playerid, select_char_TD[playerid][3], 1);
PlayerTextDrawSetProportional(playerid, select_char_TD[playerid][3], 1);
PlayerTextDrawSetSelectable(playerid, select_char_TD[playerid][3], 0);
select_char_TD[playerid][4] = CreatePlayerTextDraw(playerid, 148.000000, 281.000000, "logos:lspd");
PlayerTextDrawFont(playerid, select_char_TD[playerid][4], 4);
PlayerTextDrawLetterSize(playerid, select_char_TD[playerid][4], 0.600000, 2.000000);
PlayerTextDrawTextSize(playerid, select_char_TD[playerid][4], 16.000000, 16.000000);
PlayerTextDrawSetOutline(playerid, select_char_TD[playerid][4], 1);
PlayerTextDrawSetShadow(playerid, select_char_TD[playerid][4], 0);
PlayerTextDrawAlignment(playerid, select_char_TD[playerid][4], 1);
PlayerTextDrawColor(playerid, select_char_TD[playerid][4], -1);
PlayerTextDrawBackgroundColor(playerid, select_char_TD[playerid][4], 255);
PlayerTextDrawBoxColor(playerid, select_char_TD[playerid][4], 50);
PlayerTextDrawUseBox(playerid, select_char_TD[playerid][4], 1);
PlayerTextDrawSetProportional(playerid, select_char_TD[playerid][4], 1);
PlayerTextDrawSetSelectable(playerid, select_char_TD[playerid][4], 0);
select_char_TD[playerid][5] = CreatePlayerTextDraw(playerid, 453.000000, 281.000000, "logos:lspd");
PlayerTextDrawFont(playerid, select_char_TD[playerid][5], 4);
PlayerTextDrawLetterSize(playerid, select_char_TD[playerid][5], 0.600000, 2.000000);
PlayerTextDrawTextSize(playerid, select_char_TD[playerid][5], 16.000000, 16.000000);
PlayerTextDrawSetOutline(playerid, select_char_TD[playerid][5], 1);
PlayerTextDrawSetShadow(playerid, select_char_TD[playerid][5], 0);
PlayerTextDrawAlignment(playerid, select_char_TD[playerid][5], 1);
PlayerTextDrawColor(playerid, select_char_TD[playerid][5], -1);
PlayerTextDrawBackgroundColor(playerid, select_char_TD[playerid][5], 255);
PlayerTextDrawBoxColor(playerid, select_char_TD[playerid][5], 50);
PlayerTextDrawUseBox(playerid, select_char_TD[playerid][5], 1);
PlayerTextDrawSetProportional(playerid, select_char_TD[playerid][5], 1);
PlayerTextDrawSetSelectable(playerid, select_char_TD[playerid][5], 0);
select_char_TD[playerid][6] = CreatePlayerTextDraw(playerid, 307.000000, 150.000000, "Name_Surname");
PlayerTextDrawFont(playerid, select_char_TD[playerid][6], 1);
PlayerTextDrawLetterSize(playerid, select_char_TD[playerid][6], 0.200000, 1.299998);
PlayerTextDrawTextSize(playerid, select_char_TD[playerid][6], 400.000000, 17.000000);
PlayerTextDrawSetOutline(playerid, select_char_TD[playerid][6], 1);
PlayerTextDrawSetShadow(playerid, select_char_TD[playerid][6], 0);
PlayerTextDrawAlignment(playerid, select_char_TD[playerid][6], 2);
PlayerTextDrawColor(playerid, select_char_TD[playerid][6], -1);
PlayerTextDrawBackgroundColor(playerid, select_char_TD[playerid][6], 255);
PlayerTextDrawBoxColor(playerid, select_char_TD[playerid][6], 50);
PlayerTextDrawUseBox(playerid, select_char_TD[playerid][6], 0);
PlayerTextDrawSetProportional(playerid, select_char_TD[playerid][6], 1);
PlayerTextDrawSetSelectable(playerid, select_char_TD[playerid][6], 0);
select_char_TD[playerid][7] = CreatePlayerTextDraw(playerid, 157.000000, 150.000000, "Name_Surname");
PlayerTextDrawFont(playerid, select_char_TD[playerid][7], 1);
PlayerTextDrawLetterSize(playerid, select_char_TD[playerid][7], 0.200000, 1.299998);
PlayerTextDrawTextSize(playerid, select_char_TD[playerid][7], 400.000000, 17.000000);
PlayerTextDrawSetOutline(playerid, select_char_TD[playerid][7], 1);
PlayerTextDrawSetShadow(playerid, select_char_TD[playerid][7], 0);
PlayerTextDrawAlignment(playerid, select_char_TD[playerid][7], 2);
PlayerTextDrawColor(playerid, select_char_TD[playerid][7], -1);
PlayerTextDrawBackgroundColor(playerid, select_char_TD[playerid][7], 255);
PlayerTextDrawBoxColor(playerid, select_char_TD[playerid][7], 50);
PlayerTextDrawUseBox(playerid, select_char_TD[playerid][7], 0);
PlayerTextDrawSetProportional(playerid, select_char_TD[playerid][7], 1);
PlayerTextDrawSetSelectable(playerid, select_char_TD[playerid][7], 0);
select_char_TD[playerid][8] = CreatePlayerTextDraw(playerid, 460.000000, 150.000000, "Name_Surname");
PlayerTextDrawFont(playerid, select_char_TD[playerid][8], 1);
PlayerTextDrawLetterSize(playerid, select_char_TD[playerid][8], 0.200000, 1.299998);
PlayerTextDrawTextSize(playerid, select_char_TD[playerid][8], 400.000000, 17.000000);
PlayerTextDrawSetOutline(playerid, select_char_TD[playerid][8], 1);
PlayerTextDrawSetShadow(playerid, select_char_TD[playerid][8], 0);
PlayerTextDrawAlignment(playerid, select_char_TD[playerid][8], 2);
PlayerTextDrawColor(playerid, select_char_TD[playerid][8], -1);
PlayerTextDrawBackgroundColor(playerid, select_char_TD[playerid][8], 255);
PlayerTextDrawBoxColor(playerid, select_char_TD[playerid][8], 50);
PlayerTextDrawUseBox(playerid, select_char_TD[playerid][8], 0);
PlayerTextDrawSetProportional(playerid, select_char_TD[playerid][8], 1);
PlayerTextDrawSetSelectable(playerid, select_char_TD[playerid][8], 0);
пометка: logos:lspd - взято для 0.3дл так как сервер стоит на нем, все текстдравы делались на 0.3.7 так как 0.3дл версии не нашел