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

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

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

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

Спидометр

MrSp00

Начинающий
Пользователь
Регистрация
27 Ноя 2018
Сообщения
63
Лучшие ответы
0
Репутация
5
Редактор: TDEditor
Первая работа, не судите строго
Скриншотик:

PHP:
new Text:TDEditor_TD[18];

TDEditor_TD[0] = TextDrawCreate(510.3332, 334.6265, "LD_SPAC:white"); // пусто
TextDrawTextSize(TDEditor_TD[0], 124.0000, 81.0000);
TextDrawAlignment(TDEditor_TD[0], 1);
TextDrawColor(TDEditor_TD[0], 255);
TextDrawBackgroundColor(TDEditor_TD[0], 255);
TextDrawFont(TDEditor_TD[0], 4);
TextDrawSetProportional(TDEditor_TD[0], 0);
TextDrawSetShadow(TDEditor_TD[0], 0);

TDEditor_TD[1] = TextDrawCreate(514.3808, 340.6132, "speed"); // пусто
TextDrawLetterSize(TDEditor_TD[1], 0.3314, 1.3781);
TextDrawAlignment(TDEditor_TD[1], 1);
TextDrawColor(TDEditor_TD[1], -1);
TextDrawBackgroundColor(TDEditor_TD[1], 255);
TextDrawFont(TDEditor_TD[1], 2);
TextDrawSetProportional(TDEditor_TD[1], 1);
TextDrawSetShadow(TDEditor_TD[1], 0);

TDEditor_TD[2] = TextDrawCreate(516.4285, 352.5466, "LD_SPAC:white"); // пусто
TextDrawTextSize(TDEditor_TD[2], 115.0000, 2.0000);
TextDrawAlignment(TDEditor_TD[2], 1);
TextDrawColor(TDEditor_TD[2], -1523963137);
TextDrawBackgroundColor(TDEditor_TD[2], 255);
TextDrawFont(TDEditor_TD[2], 4);
TextDrawSetProportional(TDEditor_TD[2], 0);
TextDrawSetShadow(TDEditor_TD[2], 0);

TDEditor_TD[3] = TextDrawCreate(590.5712, 341.0400, "125_KM.H"); // пусто
TextDrawLetterSize(TDEditor_TD[3], 0.3123, 1.2970);
TextDrawAlignment(TDEditor_TD[3], 1);
TextDrawColor(TDEditor_TD[3], -1);
TextDrawBackgroundColor(TDEditor_TD[3], 255);
TextDrawFont(TDEditor_TD[3], 2);
TextDrawSetProportional(TDEditor_TD[3], 1);
TextDrawSetShadow(TDEditor_TD[3], 0);

TDEditor_TD[4] = TextDrawCreate(516.0472, 368.7599, "LD_SPAC:white"); // пусто
TextDrawTextSize(TDEditor_TD[4], 115.0000, 2.0000);
TextDrawAlignment(TDEditor_TD[4], 1);
TextDrawColor(TDEditor_TD[4], -5963521);
TextDrawBackgroundColor(TDEditor_TD[4], 255);
TextDrawFont(TDEditor_TD[4], 4);
TextDrawSetProportional(TDEditor_TD[4], 0);
TextDrawSetShadow(TDEditor_TD[4], 0);

TDEditor_TD[5] = TextDrawCreate(514.3807, 358.1066, "FUEL"); // пусто
TextDrawLetterSize(TDEditor_TD[5], 0.4171, 1.3823);
TextDrawTextSize(TDEditor_TD[5], -102.0000, 0.0000);
TextDrawAlignment(TDEditor_TD[5], 1);
TextDrawColor(TDEditor_TD[5], -1);
TextDrawBackgroundColor(TDEditor_TD[5], 255);
TextDrawFont(TDEditor_TD[5], 2);
TextDrawSetProportional(TDEditor_TD[5], 1);
TextDrawSetShadow(TDEditor_TD[5], 0);

TDEditor_TD[6] = TextDrawCreate(516.0474, 388.3867, "LD_SPAC:white"); // пусто
TextDrawTextSize(TDEditor_TD[6], 115.0000, 2.0000);
TextDrawAlignment(TDEditor_TD[6], 1);
TextDrawColor(TDEditor_TD[6], 16711935);
TextDrawBackgroundColor(TDEditor_TD[6], 255);
TextDrawFont(TDEditor_TD[6], 4);
TextDrawSetProportional(TDEditor_TD[6], 0);
TextDrawSetShadow(TDEditor_TD[6], 0);

TDEditor_TD[7] = TextDrawCreate(533.0477, 378.5867, "HEALTH"); // пусто
TextDrawLetterSize(TDEditor_TD[7], 0.3268, 1.2927);
TextDrawAlignment(TDEditor_TD[7], 2);
TextDrawColor(TDEditor_TD[7], -1);
TextDrawBackgroundColor(TDEditor_TD[7], 255);
TextDrawFont(TDEditor_TD[7], 2);
TextDrawSetProportional(TDEditor_TD[7], 1);
TextDrawSetShadow(TDEditor_TD[7], 0);

TDEditor_TD[8] = TextDrawCreate(599.7141, 378.5868, "1000_%"); // пусто
TextDrawLetterSize(TDEditor_TD[8], 0.3135, 1.2714);
TextDrawAlignment(TDEditor_TD[8], 1);
TextDrawColor(TDEditor_TD[8], -1);
TextDrawBackgroundColor(TDEditor_TD[8], 255);
TextDrawFont(TDEditor_TD[8], 2);
TextDrawSetProportional(TDEditor_TD[8], 1);
TextDrawSetShadow(TDEditor_TD[8], 0);

TDEditor_TD[9] = TextDrawCreate(516.0477, 394.7866, "LD_SPAC:white"); // пусто
TextDrawTextSize(TDEditor_TD[9], 33.0000, 17.0000);
TextDrawAlignment(TDEditor_TD[9], 1);
TextDrawColor(TDEditor_TD[9], -1523963137);
TextDrawBackgroundColor(TDEditor_TD[9], 255);
TextDrawFont(TDEditor_TD[9], 4);
TextDrawSetProportional(TDEditor_TD[9], 0);
TextDrawSetShadow(TDEditor_TD[9], 0);

TDEditor_TD[10] = TextDrawCreate(557.1904, 395.2133, "LD_SPAC:white"); // пусто
TextDrawTextSize(TDEditor_TD[10], 33.0000, 17.0000);
TextDrawAlignment(TDEditor_TD[10], 1);
TextDrawColor(TDEditor_TD[10], -1523963137);
TextDrawBackgroundColor(TDEditor_TD[10], 255);
TextDrawFont(TDEditor_TD[10], 4);
TextDrawSetProportional(TDEditor_TD[10], 0);
TextDrawSetShadow(TDEditor_TD[10], 0);

TDEditor_TD[11] = TextDrawCreate(597.1906, 395.2133, "LD_SPAC:white"); // пусто
TextDrawTextSize(TDEditor_TD[11], 33.0000, 17.0000);
TextDrawAlignment(TDEditor_TD[11], 1);
TextDrawColor(TDEditor_TD[11], -1523963137);
TextDrawBackgroundColor(TDEditor_TD[11], 255);
TextDrawFont(TDEditor_TD[11], 4);
TextDrawSetProportional(TDEditor_TD[11], 0);
TextDrawSetShadow(TDEditor_TD[11], 0);

TDEditor_TD[12] = TextDrawCreate(517.5714, 396.4933, "LD_SPAC:white"); // пусто
TextDrawTextSize(TDEditor_TD[12], 30.0000, 14.0000);
TextDrawAlignment(TDEditor_TD[12], 1);
TextDrawColor(TDEditor_TD[12], 255);
TextDrawBackgroundColor(TDEditor_TD[12], 255);
TextDrawFont(TDEditor_TD[12], 4);
TextDrawSetProportional(TDEditor_TD[12], 0);
TextDrawSetShadow(TDEditor_TD[12], 0);

TDEditor_TD[13] = TextDrawCreate(558.7142, 396.9199, "LD_SPAC:white"); // пусто
TextDrawTextSize(TDEditor_TD[13], 30.0000, 14.0000);
TextDrawAlignment(TDEditor_TD[13], 1);
TextDrawColor(TDEditor_TD[13], 255);
TextDrawBackgroundColor(TDEditor_TD[13], 255);
TextDrawFont(TDEditor_TD[13], 4);
TextDrawSetProportional(TDEditor_TD[13], 0);
TextDrawSetShadow(TDEditor_TD[13], 0);

TDEditor_TD[14] = TextDrawCreate(598.7147, 397.3466, "LD_SPAC:white"); // пусто
TextDrawTextSize(TDEditor_TD[14], 30.0000, 14.0000);
TextDrawAlignment(TDEditor_TD[14], 1);
TextDrawColor(TDEditor_TD[14], 255);
TextDrawBackgroundColor(TDEditor_TD[14], 255);
TextDrawFont(TDEditor_TD[14], 4);
TextDrawSetProportional(TDEditor_TD[14], 0);
TextDrawSetShadow(TDEditor_TD[14], 0);

TDEditor_TD[15] = TextDrawCreate(532.6677, 397.7864, "engine"); // пусто
TextDrawLetterSize(TDEditor_TD[15], 0.2419, 1.2970);
TextDrawTextSize(TDEditor_TD[15], 0.0000, 27.0000);
TextDrawAlignment(TDEditor_TD[15], 2);
TextDrawColor(TDEditor_TD[15], -1);
TextDrawUseBox(TDEditor_TD[15], 1);
TextDrawBoxColor(TDEditor_TD[15], 255);
TextDrawBackgroundColor(TDEditor_TD[15], 255);
TextDrawFont(TDEditor_TD[15], 2);
TextDrawSetProportional(TDEditor_TD[15], 1);
TextDrawSetShadow(TDEditor_TD[15], 0);
TextDrawSetSelectable(TDEditor_TD[15], true);

TDEditor_TD[16] = TextDrawCreate(573.8110, 398.2131, "lights"); // пусто
TextDrawLetterSize(TDEditor_TD[16], 0.2419, 1.2970);
TextDrawTextSize(TDEditor_TD[16], 0.0000, 27.0000);
TextDrawAlignment(TDEditor_TD[16], 2);
TextDrawColor(TDEditor_TD[16], -1);
TextDrawUseBox(TDEditor_TD[16], 1);
TextDrawBoxColor(TDEditor_TD[16], 255);
TextDrawBackgroundColor(TDEditor_TD[16], 255);
TextDrawFont(TDEditor_TD[16], 2);
TextDrawSetProportional(TDEditor_TD[16], 1);
TextDrawSetShadow(TDEditor_TD[16], 0);
TextDrawSetSelectable(TDEditor_TD[16], true);

TDEditor_TD[17] = TextDrawCreate(613.8112, 398.2131, "doors"); // пусто
TextDrawLetterSize(TDEditor_TD[17], 0.2419, 1.2970);
TextDrawTextSize(TDEditor_TD[17], 0.0000, 27.0000);
TextDrawAlignment(TDEditor_TD[17], 2);
TextDrawColor(TDEditor_TD[17], -1);
TextDrawUseBox(TDEditor_TD[17], 1);
TextDrawBoxColor(TDEditor_TD[17], 255);
TextDrawBackgroundColor(TDEditor_TD[17], 255);
TextDrawFont(TDEditor_TD[17], 2);
TextDrawSetProportional(TDEditor_TD[17], 1);
TextDrawSetShadow(TDEditor_TD[17], 0);
TextDrawSetSelectable(TDEditor_TD[17], true);



// Текстдравы для игроков
new PlayerText:TDEditor_PTD[MAX_PLAYERS][2];

TDEditor_PTD[playerid][0] = CreatePlayerTextDraw(playerid, 508.8095, 332.9199, "LD_SPAC:white"); // пусто
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][0], 128.0000, 85.0000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][0], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][0], -1523963137);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][0], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][0], 4);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][0], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 0);

TDEditor_PTD[playerid][1] = CreatePlayerTextDraw(playerid, 603.9050, 358.9598, "100_L"); // пусто
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][1], 0.3401, 1.2970);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][1], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][1], -1);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][1], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][1], 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][1], 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][1], 0);
 
Сверху Снизу