Доступ к архиву

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

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

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

Как ставить Спидометр?

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

Tomi123

Умник
Здравствуйте, сталкнулся с проблемой. Есть мод там спидометр плохой, нашел красивый спидометр, как его ставить? удалив старый? Киньте уроки если есть? или обясните что да как
Есть код от спидометра вот эту хочу ставить

/****************************************
Спидометр как на NewLife-RP
****************************************/
new PlayerText:TD_SPEED[MAX_PLAYERS][13];
/***************************************************************************************/
TD_SPEED[playerid][0] = CreatePlayerTextDraw(playerid, 633.666625, 330.240753, "usebox");
PlayerTextDrawLetterSize(playerid, TD_SPEED[playerid][0], 0.000000, 8.895267);
PlayerTextDrawTextSize(playerid, TD_SPEED[playerid][0], 427.444427, 0.000000);
PlayerTextDrawAlignment(playerid, TD_SPEED[playerid][0], 1);
PlayerTextDrawColor(playerid, TD_SPEED[playerid][0], 0);
PlayerTextDrawUseBox(playerid, TD_SPEED[playerid][0], true);
PlayerTextDrawBoxColor(playerid, TD_SPEED[playerid][0], -176);
PlayerTextDrawSetShadow(playerid, TD_SPEED[playerid][0], 0);
PlayerTextDrawSetOutline(playerid, TD_SPEED[playerid][0], 0);
PlayerTextDrawFont(playerid, TD_SPEED[playerid][0], 0);
/***************************************************************************************/
TD_SPEED[playerid][1] = CreatePlayerTextDraw(playerid, 434.444549, 332.370422, "usebox");
PlayerTextDrawLetterSize(playerid, TD_SPEED[playerid][1], 0.449999, 1.600000);
PlayerTextDrawTextSize(playerid, TD_SPEED[playerid][1], 62.222198, 54.444423);
PlayerTextDrawAlignment(playerid, TD_SPEED[playerid][1], 1);
PlayerTextDrawColor(playerid, TD_SPEED[playerid][1], -1);
PlayerTextDrawUseBox(playerid, TD_SPEED[playerid][1], true);
PlayerTextDrawBoxColor(playerid, TD_SPEED[playerid][1], 255);
PlayerTextDrawSetShadow(playerid, TD_SPEED[playerid][1], 0);
PlayerTextDrawSetOutline(playerid, TD_SPEED[playerid][1], 1);
PlayerTextDrawBackgroundColor(playerid, TD_SPEED[playerid][1], 51);
PlayerTextDrawFont(playerid, TD_SPEED[playerid][1], 5);
PlayerTextDrawSetProportional(playerid, TD_SPEED[playerid][1], 1);
PlayerTextDrawSetPreviewModel(playerid, TD_SPEED[playerid][1], 462); //ID автомобиля
PlayerTextDrawSetPreviewRot(playerid, TD_SPEED[playerid][1], 0.000000, 0.000000, 0.000000, 1.000000);
/***************************************************************************************/
TD_SPEED[playerid][2] = CreatePlayerTextDraw(playerid, 628.111083, 334.388885, "usebox");
PlayerTextDrawLetterSize(playerid, TD_SPEED[playerid][2], 0.000000, 5.557820);
PlayerTextDrawTextSize(playerid, TD_SPEED[playerid][2], 498.555603, 0.000000);
PlayerTextDrawAlignment(playerid, TD_SPEED[playerid][2], 1);
PlayerTextDrawColor(playerid, TD_SPEED[playerid][2], 0);
PlayerTextDrawUseBox(playerid, TD_SPEED[playerid][2], true);
PlayerTextDrawBoxColor(playerid, TD_SPEED[playerid][2], 102);
PlayerTextDrawSetShadow(playerid, TD_SPEED[playerid][2], 0);
PlayerTextDrawSetOutline(playerid, TD_SPEED[playerid][2], 0);
PlayerTextDrawFont(playerid, TD_SPEED[playerid][2], 0);
/***************************************************************************************/
TD_SPEED[playerid][3] = CreatePlayerTextDraw(playerid, 628.666625, 391.944427, "usebox");
PlayerTextDrawLetterSize(playerid, TD_SPEED[playerid][3], 0.000000, 1.582510);
PlayerTextDrawTextSize(playerid, TD_SPEED[playerid][3], 431.888916, 0.000000);
PlayerTextDrawAlignment(playerid, TD_SPEED[playerid][3], 1);
PlayerTextDrawColor(playerid, TD_SPEED[playerid][3], 0);
PlayerTextDrawUseBox(playerid, TD_SPEED[playerid][3], true);
PlayerTextDrawBoxColor(playerid, TD_SPEED[playerid][3], 102);
PlayerTextDrawSetShadow(playerid, TD_SPEED[playerid][3], 0);
PlayerTextDrawSetOutline(playerid, TD_SPEED[playerid][3], 0);
PlayerTextDrawFont(playerid, TD_SPEED[playerid][3], 0);
/***************************************************************************************/
TD_SPEED[playerid][4] = CreatePlayerTextDraw(playerid, 442.222290, 392.518432, "ENGINE");
PlayerTextDrawLetterSize(playerid, TD_SPEED[playerid][4], 0.321111, 1.237038);
PlayerTextDrawAlignment(playerid, TD_SPEED[playerid][4], 1);
PlayerTextDrawColor(playerid, TD_SPEED[playerid][4], 8388863);
PlayerTextDrawSetShadow(playerid, TD_SPEED[playerid][4], 0);
PlayerTextDrawSetOutline(playerid, TD_SPEED[playerid][4], 1);
PlayerTextDrawBackgroundColor(playerid, TD_SPEED[playerid][4], 51);
PlayerTextDrawFont(playerid, TD_SPEED[playerid][4], 2);
PlayerTextDrawSetProportional(playerid, TD_SPEED[playerid][4], 1);
/***************************************************************************************/
TD_SPEED[playerid][5] = CreatePlayerTextDraw(playerid, 514.444396, 392.518493, "LOCK");
PlayerTextDrawLetterSize(playerid, TD_SPEED[playerid][5], 0.380555, 1.268149);
PlayerTextDrawAlignment(playerid, TD_SPEED[playerid][5], 1);
PlayerTextDrawColor(playerid, TD_SPEED[playerid][5], 8388863);
PlayerTextDrawSetShadow(playerid, TD_SPEED[playerid][5], 0);
PlayerTextDrawSetOutline(playerid, TD_SPEED[playerid][5], 1);
PlayerTextDrawBackgroundColor(playerid, TD_SPEED[playerid][5], 51);
PlayerTextDrawFont(playerid, TD_SPEED[playerid][5], 2);
PlayerTextDrawSetProportional(playerid, TD_SPEED[playerid][5], 1);
/***************************************************************************************/
TD_SPEED[playerid][6] = CreatePlayerTextDraw(playerid, 576.111083, 392.518554, "LIGHT");
PlayerTextDrawLetterSize(playerid, TD_SPEED[playerid][6], 0.358333, 1.278519);
PlayerTextDrawAlignment(playerid, TD_SPEED[playerid][6], 1);
PlayerTextDrawColor(playerid, TD_SPEED[playerid][6], 8388863);
PlayerTextDrawSetShadow(playerid, TD_SPEED[playerid][6], 0);
PlayerTextDrawSetOutline(playerid, TD_SPEED[playerid][6], 1);
PlayerTextDrawBackgroundColor(playerid, TD_SPEED[playerid][6], 51);
PlayerTextDrawFont(playerid, TD_SPEED[playerid][6], 2);
PlayerTextDrawSetProportional(playerid, TD_SPEED[playerid][6], 1);
/***************************************************************************************/
TD_SPEED[playerid][7] = CreatePlayerTextDraw(playerid, 510.000000, 338.592590, "SPEED:");
PlayerTextDrawLetterSize(playerid, TD_SPEED[playerid][7], 0.247777, 1.242223);
PlayerTextDrawAlignment(playerid, TD_SPEED[playerid][7], 1);
PlayerTextDrawColor(playerid, TD_SPEED[playerid][7], -1);
PlayerTextDrawSetShadow(playerid, TD_SPEED[playerid][7], 0);
PlayerTextDrawSetOutline(playerid, TD_SPEED[playerid][7], 1);
PlayerTextDrawBackgroundColor(playerid, TD_SPEED[playerid][7], 51);
PlayerTextDrawFont(playerid, TD_SPEED[playerid][7], 2);
PlayerTextDrawSetProportional(playerid, TD_SPEED[playerid][7], 1);
/***************************************************************************************/
TD_SPEED[playerid][8] = CreatePlayerTextDraw(playerid, 553.333435, 338.592529, "29 KM/H");
PlayerTextDrawLetterSize(playerid, TD_SPEED[playerid][8], 0.251666, 1.247407);
PlayerTextDrawAlignment(playerid, TD_SPEED[playerid][8], 1);
PlayerTextDrawColor(playerid, TD_SPEED[playerid][8], -1);
PlayerTextDrawSetShadow(playerid, TD_SPEED[playerid][8], 0);
PlayerTextDrawSetOutline(playerid, TD_SPEED[playerid][8], 1);
PlayerTextDrawBackgroundColor(playerid, TD_SPEED[playerid][8], 51);
PlayerTextDrawFont(playerid, TD_SPEED[playerid][8], 2);
PlayerTextDrawSetProportional(playerid, TD_SPEED[playerid][8], 1);
/***************************************************************************************/
TD_SPEED[playerid][9] = CreatePlayerTextDraw(playerid, 510.000091, 354.148193, "HEALTH:");
PlayerTextDrawLetterSize(playerid, TD_SPEED[playerid][9], 0.237222, 1.211112);
PlayerTextDrawAlignment(playerid, TD_SPEED[playerid][9], 1);
PlayerTextDrawColor(playerid, TD_SPEED[playerid][9], -1);
PlayerTextDrawSetShadow(playerid, TD_SPEED[playerid][9], 0);
PlayerTextDrawSetOutline(playerid, TD_SPEED[playerid][9], 1);
PlayerTextDrawBackgroundColor(playerid, TD_SPEED[playerid][9], 51);
PlayerTextDrawFont(playerid, TD_SPEED[playerid][9], 2);
PlayerTextDrawSetProportional(playerid, TD_SPEED[playerid][9], 1);
/***************************************************************************************/
TD_SPEED[playerid][10] = CreatePlayerTextDraw(playerid, 558.333312, 354.148010, "100");
PlayerTextDrawLetterSize(playerid, TD_SPEED[playerid][10], 0.297777, 1.226667);
PlayerTextDrawAlignment(playerid, TD_SPEED[playerid][10], 1);
PlayerTextDrawColor(playerid, TD_SPEED[playerid][10], -1);
PlayerTextDrawSetShadow(playerid, TD_SPEED[playerid][10], 0);
PlayerTextDrawSetOutline(playerid, TD_SPEED[playerid][10], 1);
PlayerTextDrawBackgroundColor(playerid, TD_SPEED[playerid][10], 51);
PlayerTextDrawFont(playerid, TD_SPEED[playerid][10], 2);
PlayerTextDrawSetProportional(playerid, TD_SPEED[playerid][10], 1);
/***************************************************************************************/
TD_SPEED[playerid][11] = CreatePlayerTextDraw(playerid, 510.000000, 369.703674, "FUEL:");
PlayerTextDrawLetterSize(playerid, TD_SPEED[playerid][11], 0.305000, 1.097037);
PlayerTextDrawAlignment(playerid, TD_SPEED[playerid][11], 1);
PlayerTextDrawColor(playerid, TD_SPEED[playerid][11], -1);
PlayerTextDrawSetShadow(playerid, TD_SPEED[playerid][11], 0);
PlayerTextDrawSetOutline(playerid, TD_SPEED[playerid][11], 1);
PlayerTextDrawBackgroundColor(playerid, TD_SPEED[playerid][11], 51);
PlayerTextDrawFont(playerid, TD_SPEED[playerid][11], 2);
PlayerTextDrawSetProportional(playerid, TD_SPEED[playerid][11], 1);
/***************************************************************************************/
TD_SPEED[playerid][12] = CreatePlayerTextDraw(playerid, 552.777709, 370.222229, "8");
PlayerTextDrawLetterSize(playerid, TD_SPEED[playerid][12], 0.334444, 1.133334);
PlayerTextDrawAlignment(playerid, TD_SPEED[playerid][12], 1);
PlayerTextDrawColor(playerid, TD_SPEED[playerid][12], -2147483393);
PlayerTextDrawSetShadow(playerid, TD_SPEED[playerid][12], 0);
PlayerTextDrawSetOutline(playerid, TD_SPEED[playerid][12], 1);
PlayerTextDrawBackgroundColor(playerid, TD_SPEED[playerid][12], 51);
PlayerTextDrawFont(playerid, TD_SPEED[playerid][12], 1);
PlayerTextDrawSetProportional(playerid, TD_SPEED[playerid][12], 1);
/***************************************************************************************/


---------- Сообщение добавлено в 20:37 ---------- Предыдущее сообщение добавлено в 20:30 ----------

Нашел типа такой код выше (от плохого спидака) удалил его ставил это, а теперь в игре прозрачный спидак)
 
Последнее редактирование:
Статус
В этой теме нельзя размещать новые ответы.
Сверху Снизу