Доступ к готовым решениям

Переход в группу "Пользователь"

300.00 ₽
Одноразовый платёж
Быстрый переход в группу "Пользователи", без надобности написания постов и ожидания.

Покупка дает возможность:
Быть полноправным участником форума
Нормальное копирование кода
Создавать темы
Скачивать файлы
Доступ к архиву Pawno-Info
  • Новые темы в этом разделе публикуются автоматически при добавлении файла в менеджер ресурсов.
    Ручное создание новых тем невозможно.

Меню тюнинга

Статус
В этой теме нельзя размещать новые ответы.

Magneto

Умник
Приветствую всех. Данное меню предназначено для тюнинга транспорта, выполнено в минималистичном стиле.
Скриншот:

Ко всем new:
PHP:
new Text:TDTuneLists[11];
new PlayerText:TDTuneList[MAX_PLAYERS][2];
Далее в public OnPlayerConnect:
PHP:
TDTuneList[playerid][0] = CreatePlayerTextDraw(playerid, 320.476013, 381.306671, "_");
	PlayerTextDrawLetterSize(playerid, TDTuneList[playerid][0], 0.149428, 0.729599);
	PlayerTextDrawTextSize(playerid, TDTuneList[playerid][0], 115.809440, 68.693298);
	PlayerTextDrawAlignment(playerid, TDTuneList[playerid][0], 2);
	PlayerTextDrawColor(playerid, TDTuneList[playerid][0], -1);
	PlayerTextDrawUseBox(playerid, TDTuneList[playerid][0], true);
	PlayerTextDrawBoxColor(playerid, TDTuneList[playerid][0], 255);
	PlayerTextDrawSetShadow(playerid, TDTuneList[playerid][0], 0);
	PlayerTextDrawSetOutline(playerid, TDTuneList[playerid][0], 0);
	PlayerTextDrawBackgroundColor(playerid, TDTuneList[playerid][0], 51);
	PlayerTextDrawFont(playerid, TDTuneList[playerid][0], 2);
	PlayerTextDrawSetProportional(playerid, TDTuneList[playerid][0], 1);
	PlayerTextDrawShow(playerid, TDTuneList[playerid][0]);

TDTuneList[playerid][1] = CreatePlayerTextDraw(playerid, 320.333160, 396.813323, "_");
	PlayerTextDrawLetterSize(playerid, TDTuneList[playerid][1], 0.149428, 0.729599);
	PlayerTextDrawTextSize(playerid, TDTuneList[playerid][1], 115.809440, 68.693298);
        PlayerTextDrawAlignment(playerid, TDTuneList[playerid][1], 2);
	PlayerTextDrawColor(playerid, TDTuneList[playerid][1], -1);
	PlayerTextDrawUseBox(playerid, TDTuneList[playerid][1], true);
	PlayerTextDrawBoxColor(playerid, TDTuneList[playerid][1], 255);
	PlayerTextDrawSetShadow(playerid, TDTuneList[playerid][1], 0);
	PlayerTextDrawSetOutline(playerid, TDTuneList[playerid][1], 0);
	PlayerTextDrawBackgroundColor(playerid, TDTuneList[playerid][1], 51);
	PlayerTextDrawFont(playerid, TDTuneList[playerid][1], 2);
	PlayerTextDrawSetProportional(playerid, TDTuneList[playerid][1], 1);
	PlayerTextDrawShow(playerid, TDTuneList[playerid][1]);
Далее в public OnGameModeInit:
PHP:
TDTuneLists[0] = TextDrawCreate(390.571411, 429.446685, "usebox");
	TextDrawLetterSize(TDTuneLists[0], 0.000000, -7.784173);
	TextDrawTextSize(TDTuneLists[0], 250.952392, 0.000000);
	TextDrawAlignment(TDTuneLists[0], 1);
	TextDrawColor(TDTuneLists[0], 0);
	TextDrawUseBox(TDTuneLists[0], true);
	TextDrawBoxColor(TDTuneLists[0], 102);
	TextDrawSetShadow(TDTuneLists[0], 0);
	TextDrawSetOutline(TDTuneLists[0], 0);
	TextDrawFont(TDTuneLists[0], 0);

	TDTuneLists[1] = TextDrawCreate(303.619018, 364.373352, "TUNING CAR");
	TextDrawLetterSize(TDTuneLists[1], 0.133809, 0.674132);
	TextDrawAlignment(TDTuneLists[1], 1);
	TextDrawColor(TDTuneLists[1], -1);
	TextDrawSetShadow(TDTuneLists[1], 0);
	TextDrawSetOutline(TDTuneLists[1], 0);
	TextDrawBackgroundColor(TDTuneLists[1], 51);
	TextDrawFont(TDTuneLists[1], 2);
	TextDrawSetProportional(TDTuneLists[1], 1);

	TDTuneLists[2] = TextDrawCreate(388.285919, 426.886657, "usebox");
	TextDrawLetterSize(TDTuneLists[2], 0.000000, -6.049571);
	TextDrawTextSize(TDTuneLists[2], 253.238250, 0.000000);
	TextDrawAlignment(TDTuneLists[2], 1);
	TextDrawColor(TDTuneLists[2], 0);
	TextDrawUseBox(TDTuneLists[2], true);
	TextDrawBoxColor(TDTuneLists[2], 102);
	TextDrawSetShadow(TDTuneLists[2], 0);
	TextDrawSetOutline(TDTuneLists[2], 0);
	TextDrawFont(TDTuneLists[2], 0);
	
	TDTuneLists[3] = TextDrawCreate(269.571411, 381.160003, "<");
	TextDrawLetterSize(TDTuneLists[3], 0.149428, 0.746666);
	TextDrawTextSize(TDTuneLists[3], 26.666667, 17.066665);
	TextDrawAlignment(TDTuneLists[3], 2);
	TextDrawColor(TDTuneLists[3], -1);
	TextDrawUseBox(TDTuneLists[3], true);
	TextDrawBoxColor(TDTuneLists[3], 255);
	TextDrawSetShadow(TDTuneLists[3], 0);
	TextDrawSetOutline(TDTuneLists[3], 0);
	TextDrawBackgroundColor(TDTuneLists[3], 51);
	TextDrawFont(TDTuneLists[3], 2);
	TextDrawSetProportional(TDTuneLists[3], 1);
	TextDrawSetSelectable(TDTuneLists[3], true);

	TDTuneLists[4] = TextDrawCreate(372.323638, 381.306671, ">");
	TextDrawLetterSize(TDTuneLists[4], 0.149428, 0.729599);
	TextDrawTextSize(TDTuneLists[4], 26.666667, 17.066665);
	TextDrawAlignment(TDTuneLists[4], 2);
	TextDrawColor(TDTuneLists[4], -1);
	TextDrawUseBox(TDTuneLists[4], true);
	TextDrawBoxColor(TDTuneLists[4], 255);
	TextDrawSetShadow(TDTuneLists[4], 0);
	TextDrawSetOutline(TDTuneLists[4], 0);
	TextDrawBackgroundColor(TDTuneLists[4], 51);
	TextDrawFont(TDTuneLists[4], 2);
	TextDrawSetProportional(TDTuneLists[4], 1);
	TextDrawSetSelectable(TDTuneLists[4], true);

	TDTuneLists[5] = TextDrawCreate(269.809509, 396.666656, "<");
	TextDrawLetterSize(TDTuneLists[5], 0.149428, 0.746666);
	TextDrawTextSize(TDTuneLists[5], 26.666667, 17.066665);
	TextDrawAlignment(TDTuneLists[5], 2);
	TextDrawColor(TDTuneLists[5], -1);
	TextDrawUseBox(TDTuneLists[5], true);
	TextDrawBoxColor(TDTuneLists[5], 255);
	TextDrawSetShadow(TDTuneLists[5], 0);
	TextDrawSetOutline(TDTuneLists[5], 0);
	TextDrawBackgroundColor(TDTuneLists[5], 51);
	TextDrawFont(TDTuneLists[5], 2);
	TextDrawSetProportional(TDTuneLists[5], 1);
	TextDrawSetSelectable(TDTuneLists[5], true);	
	
	TDTuneLists[6] = TextDrawCreate(372.180786, 396.813323, ">");
	TextDrawLetterSize(TDTuneLists[6], 0.149428, 0.729599);
	TextDrawTextSize(TDTuneLists[6], 26.666667, 17.066665);
	TextDrawAlignment(TDTuneLists[6], 2);
	TextDrawColor(TDTuneLists[6], -1);
	TextDrawUseBox(TDTuneLists[6], true);
	TextDrawBoxColor(TDTuneLists[6], 255);
	TextDrawSetShadow(TDTuneLists[6], 0);
	TextDrawSetOutline(TDTuneLists[6], 0);
	TextDrawBackgroundColor(TDTuneLists[6], 51);
	TextDrawFont(TDTuneLists[6], 2);
	TextDrawSetProportional(TDTuneLists[6], 1);
	TextDrawSetSelectable(TDTuneLists[6], true);
	
	TDTuneLists[7] = TextDrawCreate(272.571472, 411.893310, "buy");
	TextDrawLetterSize(TDTuneLists[7], 0.149428, 0.729599);
	TextDrawTextSize(TDTuneLists[7], 137.142730, 23.039987);
	TextDrawAlignment(TDTuneLists[7], 2);
	TextDrawColor(TDTuneLists[7], -1);
	TextDrawUseBox(TDTuneLists[7], true);
	TextDrawBoxColor(TDTuneLists[7], 255);
	TextDrawSetShadow(TDTuneLists[7], 0);
	TextDrawSetOutline(TDTuneLists[7], 0);
	TextDrawBackgroundColor(TDTuneLists[7], 51);
	TextDrawFont(TDTuneLists[7], 2);
	TextDrawSetProportional(TDTuneLists[7], 1);
	TextDrawSetSelectable(TDTuneLists[7], true);

	TDTuneLists[8] = TextDrawCreate(308.237976, 412.039978, "camera");
	TextDrawLetterSize(TDTuneLists[8], 0.149428, 0.708266);
	TextDrawTextSize(TDTuneLists[8], 154.666473, 33.279979);
	TextDrawAlignment(TDTuneLists[8], 2);
	TextDrawColor(TDTuneLists[8], -1);
	TextDrawUseBox(TDTuneLists[8], true);
	TextDrawBoxColor(TDTuneLists[8], 255);
	TextDrawSetShadow(TDTuneLists[8], 0);
	TextDrawSetOutline(TDTuneLists[8], 0);
	TextDrawBackgroundColor(TDTuneLists[8], 51);
	TextDrawFont(TDTuneLists[8], 2);
	TextDrawSetProportional(TDTuneLists[8], 1);
	TextDrawSetSelectable(TDTuneLists[8], true);

	TDTuneLists[9] = TextDrawCreate(345.809356, 411.759979, "close");
	TextDrawLetterSize(TDTuneLists[9], 0.148666, 0.725332);
	TextDrawTextSize(TDTuneLists[9], 156.571228, 26.453315);
	TextDrawAlignment(TDTuneLists[9], 2);
	TextDrawColor(TDTuneLists[9], -1);
	TextDrawUseBox(TDTuneLists[9], true);
	TextDrawBoxColor(TDTuneLists[9], 255);
	TextDrawSetShadow(TDTuneLists[9], 0);
	TextDrawSetOutline(TDTuneLists[9], 0);
	TextDrawBackgroundColor(TDTuneLists[9], 51);
	TextDrawFont(TDTuneLists[9], 2);
	TextDrawSetProportional(TDTuneLists[9], 1);
	TextDrawSetSelectable(TDTuneLists[9], true);

	TDTuneLists[10] = TextDrawCreate(373.856872, 411.906646, "?");
	TextDrawLetterSize(TDTuneLists[10], 0.148666, 0.725332);
	TextDrawTextSize(TDTuneLists[10], 161.561676, 13.610652);
	TextDrawAlignment(TDTuneLists[10], 2);
	TextDrawColor(TDTuneLists[10], -1);
	TextDrawUseBox(TDTuneLists[10], true);
	TextDrawBoxColor(TDTuneLists[10], 255);
	TextDrawSetShadow(TDTuneLists[10], 0);
	TextDrawSetOutline(TDTuneLists[10], 0);
	TextDrawBackgroundColor(TDTuneLists[10], 51);
	TextDrawFont(TDTuneLists[10], 2);
	TextDrawSetProportional(TDTuneLists[10], 1);
	TextDrawSetSelectable(TDTuneLists[10], true);
P.S. У кого не загружается скриншот:
​
​
 
Последнее редактирование:
Статус
В этой теме нельзя размещать новые ответы.
Сверху Снизу