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

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

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

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

Новогодний Логотип

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

Anteik

Умник
Сделал от скуки и решил поделиться. Использовано 14 ТД. Стильно, но 14 ТД тоже немало...Если кому понадобится-буду рад.
Скриншот:
Полный экран:


Собственно и код:
Добавить ко всем New:
Код:
new Text:TDEditor_TD[14];
В паблик OnGamemodeInit:
Код:
TDEditor_TD[0] = TextDrawCreate(555.000000, 17.625000, "xpensive");
TextDrawLetterSize(TDEditor_TD[0], 0.372999, 1.508123);
TextDrawAlignment(TDEditor_TD[0], 1);
TextDrawColor(TDEditor_TD[0], -1);
TextDrawSetShadow(TDEditor_TD[0], 0);
TextDrawSetOutline(TDEditor_TD[0], 0);
TextDrawBackgroundColor(TDEditor_TD[0], 255);
TextDrawFont(TDEditor_TD[0], 1);
TextDrawSetProportional(TDEditor_TD[0], 1);
TextDrawSetShadow(TDEditor_TD[0], 0);


TDEditor_TD[1] = TextDrawCreate(637.000000, 34.562500, "LD_pool:ball");
TextDrawLetterSize(TDEditor_TD[1], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[1], -27.000000, 22.000000);
TextDrawAlignment(TDEditor_TD[1], 1);
TextDrawColor(TDEditor_TD[1], -1);
TextDrawSetShadow(TDEditor_TD[1], 0);
TextDrawSetOutline(TDEditor_TD[1], 0);
TextDrawBackgroundColor(TDEditor_TD[1], 255);
TextDrawFont(TDEditor_TD[1], 4);
TextDrawSetProportional(TDEditor_TD[1], 0);
TextDrawSetShadow(TDEditor_TD[1], 0);


TDEditor_TD[2] = TextDrawCreate(545.500000, 9.312500, "E");
TextDrawLetterSize(TDEditor_TD[2], 0.533500, 2.593122);
TextDrawAlignment(TDEditor_TD[2], 1);
TextDrawColor(TDEditor_TD[2], -1);
TextDrawSetShadow(TDEditor_TD[2], 0);
TextDrawSetOutline(TDEditor_TD[2], 0);
TextDrawBackgroundColor(TDEditor_TD[2], 255);
TextDrawFont(TDEditor_TD[2], 1);
TextDrawSetProportional(TDEditor_TD[2], 1);
TextDrawSetShadow(TDEditor_TD[2], 0);


TDEditor_TD[3] = TextDrawCreate(558.500000, 12.375000, "RolePlay");
TextDrawLetterSize(TDEditor_TD[3], 0.201000, 0.729375);
TextDrawAlignment(TDEditor_TD[3], 1);
TextDrawColor(TDEditor_TD[3], -1);
TextDrawSetShadow(TDEditor_TD[3], 0);
TextDrawSetOutline(TDEditor_TD[3], 0);
TextDrawBackgroundColor(TDEditor_TD[3], 255);
TextDrawFont(TDEditor_TD[3], 2);
TextDrawSetProportional(TDEditor_TD[3], 1);
TextDrawSetShadow(TDEditor_TD[3], 0);


TDEditor_TD[4] = TextDrawCreate(575.000000, 31.375000, "");
TextDrawLetterSize(TDEditor_TD[4], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[4], 37.000000, 28.000000);
TextDrawAlignment(TDEditor_TD[4], 1);
TextDrawColor(TDEditor_TD[4], -1);
TextDrawSetShadow(TDEditor_TD[4], 0);
TextDrawSetOutline(TDEditor_TD[4], 0);
TextDrawBackgroundColor(TDEditor_TD[4], 0);
TextDrawFont(TDEditor_TD[4], 5);
TextDrawSetProportional(TDEditor_TD[4], 0);
TextDrawSetShadow(TDEditor_TD[4], 0);
TextDrawSetPreviewModel(TDEditor_TD[4], 19054);
TextDrawSetPreviewRot(TDEditor_TD[4], 0.000000, 0.000000, 0.000000, 1.000000);


TDEditor_TD[5] = TextDrawCreate(612.500000, 21.437500, "LD_pool:ball");
TextDrawLetterSize(TDEditor_TD[5], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[5], 23.000000, 18.000000);
TextDrawAlignment(TDEditor_TD[5], 1);
TextDrawColor(TDEditor_TD[5], -1);
TextDrawSetShadow(TDEditor_TD[5], 0);
TextDrawSetOutline(TDEditor_TD[5], 0);
TextDrawBackgroundColor(TDEditor_TD[5], 255);
TextDrawFont(TDEditor_TD[5], 4);
TextDrawSetProportional(TDEditor_TD[5], 0);
TextDrawSetShadow(TDEditor_TD[5], 0);


TDEditor_TD[6] = TextDrawCreate(614.500000, 12.687500, "LD_pool:ball");
TextDrawLetterSize(TDEditor_TD[6], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[6], 18.000000, 14.000000);
TextDrawAlignment(TDEditor_TD[6], 1);
TextDrawColor(TDEditor_TD[6], -1);
TextDrawSetShadow(TDEditor_TD[6], 0);
TextDrawSetOutline(TDEditor_TD[6], 0);
TextDrawBackgroundColor(TDEditor_TD[6], 255);
TextDrawFont(TDEditor_TD[6], 4);
TextDrawSetProportional(TDEditor_TD[6], 0);
TextDrawSetShadow(TDEditor_TD[6], 0);


TDEditor_TD[7] = TextDrawCreate(604.500000, -6.000000, "");
TextDrawLetterSize(TDEditor_TD[7], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[7], 36.000000, 40.000000);
TextDrawAlignment(TDEditor_TD[7], 1);
TextDrawColor(TDEditor_TD[7], -1);
TextDrawSetShadow(TDEditor_TD[7], 0);
TextDrawSetOutline(TDEditor_TD[7], 0);
TextDrawBackgroundColor(TDEditor_TD[7], 0);
TextDrawFont(TDEditor_TD[7], 5);
TextDrawSetProportional(TDEditor_TD[7], 0);
TextDrawSetShadow(TDEditor_TD[7], 0);
TextDrawSetSelectable(TDEditor_TD[7], true);
TextDrawSetPreviewModel(TDEditor_TD[7], 19064);
TextDrawSetPreviewRot(TDEditor_TD[7], 51.000000, 0.000000, 236.000000, 1.000000);


TDEditor_TD[8] = TextDrawCreate(626.500000, 17.625000, "LD_pool:ball");
TextDrawLetterSize(TDEditor_TD[8], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[8], 1.500000, 1.000000);
TextDrawAlignment(TDEditor_TD[8], 1);
TextDrawColor(TDEditor_TD[8], 255);
TextDrawSetShadow(TDEditor_TD[8], 0);
TextDrawSetOutline(TDEditor_TD[8], 0);
TextDrawBackgroundColor(TDEditor_TD[8], 255);
TextDrawFont(TDEditor_TD[8], 4);
TextDrawSetProportional(TDEditor_TD[8], 0);
TextDrawSetShadow(TDEditor_TD[8], 0);


TDEditor_TD[9] = TextDrawCreate(621.000000, 17.625000, "LD_pool:ball");
TextDrawLetterSize(TDEditor_TD[9], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[9], 1.500000, 1.000000);
TextDrawAlignment(TDEditor_TD[9], 1);
TextDrawColor(TDEditor_TD[9], 255);
TextDrawSetShadow(TDEditor_TD[9], 0);
TextDrawSetOutline(TDEditor_TD[9], 0);
TextDrawBackgroundColor(TDEditor_TD[9], 255);
TextDrawFont(TDEditor_TD[9], 4);
TextDrawSetProportional(TDEditor_TD[9], 0);
TextDrawSetShadow(TDEditor_TD[9], 0);


TDEditor_TD[10] = TextDrawCreate(623.500000, 21.562500, "LD_pool:ball");
TextDrawLetterSize(TDEditor_TD[10], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[10], 1.500000, 1.000000);
TextDrawAlignment(TDEditor_TD[10], 1);
TextDrawColor(TDEditor_TD[10], 255);
TextDrawSetShadow(TDEditor_TD[10], 0);
TextDrawSetOutline(TDEditor_TD[10], 0);
TextDrawBackgroundColor(TDEditor_TD[10], 255);
TextDrawFont(TDEditor_TD[10], 4);
TextDrawSetProportional(TDEditor_TD[10], 0);
TextDrawSetShadow(TDEditor_TD[10], 0);


TDEditor_TD[11] = TextDrawCreate(621.000000, 21.125000, "LD_pool:ball");
TextDrawLetterSize(TDEditor_TD[11], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[11], 1.500000, 1.000000);
TextDrawAlignment(TDEditor_TD[11], 1);
TextDrawColor(TDEditor_TD[11], 255);
TextDrawSetShadow(TDEditor_TD[11], 0);
TextDrawSetOutline(TDEditor_TD[11], 0);
TextDrawBackgroundColor(TDEditor_TD[11], 255);
TextDrawFont(TDEditor_TD[11], 4);
TextDrawSetProportional(TDEditor_TD[11], 0);
TextDrawSetShadow(TDEditor_TD[11], 0);


TDEditor_TD[12] = TextDrawCreate(626.500000, 21.125000, "LD_pool:ball");
TextDrawLetterSize(TDEditor_TD[12], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[12], 1.500000, 1.000000);
TextDrawAlignment(TDEditor_TD[12], 1);
TextDrawColor(TDEditor_TD[12], 255);
TextDrawSetShadow(TDEditor_TD[12], 0);
TextDrawSetOutline(TDEditor_TD[12], 0);
TextDrawBackgroundColor(TDEditor_TD[12], 255);
TextDrawFont(TDEditor_TD[12], 4);
TextDrawSetProportional(TDEditor_TD[12], 0);
TextDrawSetShadow(TDEditor_TD[12], 0);


TDEditor_TD[13] = TextDrawCreate(613.500000, 18.062500, "I");
TextDrawLetterSize(TDEditor_TD[13], 2.066500, 0.300625);
TextDrawAlignment(TDEditor_TD[13], 1);
TextDrawColor(TDEditor_TD[13], -5963521);
TextDrawSetShadow(TDEditor_TD[13], 0);
TextDrawSetOutline(TDEditor_TD[13], 0);
TextDrawBackgroundColor(TDEditor_TD[13], 255);
TextDrawFont(TDEditor_TD[13], 2);
TextDrawSetProportional(TDEditor_TD[13], 1);
TextDrawSetShadow(TDEditor_TD[13], 0);
В паблик OnPlayerConnect:
Код:
TextDrawShowForPlayer(playerid, TDEditor_TD[0]);
TextDrawShowForPlayer(playerid, TDEditor_TD[1]);
TextDrawShowForPlayer(playerid, TDEditor_TD[2]);
TextDrawShowForPlayer(playerid, TDEditor_TD[3]);
TextDrawShowForPlayer(playerid, TDEditor_TD[4]);
TextDrawShowForPlayer(playerid, TDEditor_TD[5]);
TextDrawShowForPlayer(playerid, TDEditor_TD[6]);
TextDrawShowForPlayer(playerid, TDEditor_TD[7]);
TextDrawShowForPlayer(playerid, TDEditor_TD[8]);
TextDrawShowForPlayer(playerid, TDEditor_TD[9]);
TextDrawShowForPlayer(playerid, TDEditor_TD[10]);
TextDrawShowForPlayer(playerid, TDEditor_TD[11]);
TextDrawShowForPlayer(playerid, TDEditor_TD[12]);
TextDrawShowForPlayer(playerid, TDEditor_TD[13]);
 
Последнее редактирование:
Статус
В этой теме нельзя размещать новые ответы.
Сверху Снизу