ZloyHikkiOmorui
Новичок
Всем привет сегодня я отдаю вам свой первый логотип для сервера!
я новичок, но хочу поделится своей работай, кому понравится просьба влепить смачный +.
Вставляем ко всем new
Добавим в GameModeInit сам логотип для этого копируем код и вставляем.
Не забудьте про отступы (1 раз таб ко всем)
Теперь осталось покозать лого всем игрокам!
Для этого мы в OnPlayerConnect добавим следуйщее:
Автор данной работы:ZloyHikkiOmorui
я новичок, но хочу поделится своей работай, кому понравится просьба влепить смачный +.
Чтобы видеть скрытое содержание Зарегистрируйтесь на форуме!
Код:
new Text:TDEditor_TD[5];
Код:
TDEditor_TD[0] = TextDrawCreate(542.0000, 5.8125, "Russia"); // пусто
TextDrawLetterSize(TDEditor_TD[0], 0.5289, 2.3524);
TextDrawAlignment(TDEditor_TD[0], 1);
TextDrawColor(TDEditor_TD[0], -1);
TextDrawSetOutline(TDEditor_TD[0], 1);
TextDrawBackgroundColor(TDEditor_TD[0], 255);
TextDrawFont(TDEditor_TD[0], 2);
TextDrawSetProportional(TDEditor_TD[0], 1);
TextDrawSetShadow(TDEditor_TD[0], 0);
TDEditor_TD[1] = TextDrawCreate(542.5000, 23.3125, "Role_"); // пусто
TextDrawLetterSize(TDEditor_TD[1], 0.4000, 1.6000);
TextDrawAlignment(TDEditor_TD[1], 1);
TextDrawColor(TDEditor_TD[1], 65535);
TextDrawSetOutline(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(585.5000, 23.3125, "play"); // пусто
TextDrawLetterSize(TDEditor_TD[2], 0.4000, 1.6000);
TextDrawAlignment(TDEditor_TD[2], 1);
TextDrawColor(TDEditor_TD[2], -16776961);
TextDrawSetOutline(TDEditor_TD[2], 1);
TextDrawBackgroundColor(TDEditor_TD[2], 255);
TextDrawFont(TDEditor_TD[2], 2);
TextDrawSetProportional(TDEditor_TD[2], 1);
TextDrawSetShadow(TDEditor_TD[2], 0);
TDEditor_TD[3] = TextDrawCreate(618.0000, 11.0625, "hud:radar_cash"); // пусто
TextDrawTextSize(TDEditor_TD[3], 17.0000, 14.0000);
TextDrawAlignment(TDEditor_TD[3], 1);
TextDrawColor(TDEditor_TD[3], -1);
TextDrawBackgroundColor(TDEditor_TD[3], 255);
TextDrawFont(TDEditor_TD[3], 4);
TextDrawSetProportional(TDEditor_TD[3], 0);
TextDrawSetShadow(TDEditor_TD[3], 0);
TDEditor_TD[4] = TextDrawCreate(539.5000, 39.9375, "Box"); // пусто
TextDrawLetterSize(TDEditor_TD[4], 0.0000, -0.1999);
TextDrawTextSize(TDEditor_TD[4], 628.0000, 0.0000);
TextDrawAlignment(TDEditor_TD[4], 1);
TextDrawColor(TDEditor_TD[4], -1);
TextDrawUseBox(TDEditor_TD[4], 1);
TextDrawBoxColor(TDEditor_TD[4], -1);
TextDrawBackgroundColor(TDEditor_TD[4], 255);
TextDrawFont(TDEditor_TD[4], 1);
TextDrawSetProportional(TDEditor_TD[4], 1);
TextDrawSetShadow(TDEditor_TD[4], 0);
Теперь осталось покозать лого всем игрокам!
Для этого мы в OnPlayerConnect добавим следуйщее:
Код:
for(new i = 0; i < sizeof(TDEditor_TD); i++) TextDrawShowForPlayer(playerid, TDEditor_TD[i]);
Последнее редактирование:
