[Include] TextDraw FLAG - Форум Cheat-Master.ru
  • Страница 1 из 1
  • 1
Модератор форума: Phoenixxx_Czar, Getbackthere, [CM]OlegEhtler  
Форум » Pawno программирование SAMP » Include и Plugins » [Include] TextDraw FLAG
[Include] TextDraw FLAG
Herro[CM] Дата: Среда, 09.09.2015, 01:51 | Сообщение # 1
Бывалый
Сообщений: 425
Статус: Offline


Показать:
Код

  NFlagRussia (playerid, X, Y);
  NFlagUkraine (playerid, X, Y);
  NFlagGermany (playerid, X, Y);
  NFlagSpain (playerid, X, Y);
  NFlagPoland (playerid, X, Y);

Скрыть
Код
NFlagHideRussia (playerid);
  NFlagUkraine (playerid);
  NFlagHideGermany (playerid);
  NFlagHideSpain (playerid);
  NFlagHidePoland (playerid);


Сам include:

Код

#if defined _Nflags_included
  #endinput
#define _Nflags_included
#endif

new PlayerText:RWhite123123123;
new PlayerText:RBlue123123123;
new PlayerText:RRed123123123;
new PlayerText:UYellow123123123;
new PlayerText:UBlue123123123;
new PlayerText:PWhite123123123;
new PlayerText:PRed123123123;
new PlayerText:GBlack123123123;
new PlayerText:GRed123123123;
new PlayerText:GYellow123123123;
new PlayerText:SRed123123123;
new PlayerText:SYellow123123123;
new PlayerText:SRed1123123123;

stock NFlagRussia(playerid, Float:x, Float:y)
{
     RWhite123123123 = CreatePlayerTextDraw(playerid, x, y, "_~n~");
  PlayerTextDrawAlignment(playerid, RWhite123123123, 2);
  PlayerTextDrawUseBox(playerid, RWhite123123123, 1);
  PlayerTextDrawBoxColor(playerid, RWhite123123123, 0xFFFFFFFF);
  PlayerTextDrawSetProportional(playerid, RWhite123123123, 1);
  PlayerTextDrawTextSize(playerid, RWhite123123123, 45.0, 45.0);
  PlayerTextDrawShow(playerid, RWhite123123123);
  RBlue123123123 = CreatePlayerTextDraw(playerid, x, y+13.0, "_~n~");
  PlayerTextDrawAlignment(playerid, RBlue123123123, 2);
  PlayerTextDrawUseBox(playerid, RBlue123123123, 1);
  PlayerTextDrawBoxColor(playerid, RBlue123123123, 0x0000FFFF);
  PlayerTextDrawSetProportional(playerid, RBlue123123123, 1);
  PlayerTextDrawTextSize(playerid, RBlue123123123, 45.0, 45.0);
  PlayerTextDrawShow(playerid, RBlue123123123);
  RRed123123123 = CreatePlayerTextDraw(playerid, x, y+26.0, "_~n~");
  PlayerTextDrawAlignment(playerid, RRed123123123, 2);
  PlayerTextDrawUseBox(playerid, RRed123123123, 1);
  PlayerTextDrawBoxColor(playerid, RRed123123123, 0xFF0000FF);
  PlayerTextDrawSetProportional(playerid, RRed123123123, 1);
  PlayerTextDrawTextSize(playerid, RRed123123123, 45.0, 45.0);
  PlayerTextDrawShow(playerid, RRed123123123);
  return 1;
}

stock NFlagUkraine(playerid, Float:x, Float:y)
{
  UBlue123123123 = CreatePlayerTextDraw(playerid, x, y, "_~n~");
  PlayerTextDrawAlignment(playerid, UBlue123123123, 2);
  PlayerTextDrawUseBox(playerid, UBlue123123123, 1);
  PlayerTextDrawBoxColor(playerid, UBlue123123123, 0x0000FFFF);
  PlayerTextDrawSetProportional(playerid, UBlue123123123, 1);
  PlayerTextDrawTextSize(playerid, UBlue123123123, 45.0, 45.0);
  PlayerTextDrawShow(playerid, UBlue123123123);
     UYellow123123123 = CreatePlayerTextDraw(playerid, x, y+13.0, "_~n~");
  PlayerTextDrawAlignment(playerid, UYellow123123123, 2);
  PlayerTextDrawUseBox(playerid, UYellow123123123, 1);
  PlayerTextDrawBoxColor(playerid, UYellow123123123, 0xFFFF00FF);
  PlayerTextDrawSetProportional(playerid, UYellow123123123, 1);
  PlayerTextDrawTextSize(playerid, UYellow123123123, 45.0, 45.0);
  PlayerTextDrawShow(playerid, UYellow123123123);
  return 1;
}

stock NFlagPoland(playerid, Float:x, Float:y)
{
     PWhite123123123 = CreatePlayerTextDraw(playerid, x, y, "_~n~");
  PlayerTextDrawAlignment(playerid, PWhite123123123, 2);
  PlayerTextDrawUseBox(playerid, PWhite123123123, 1);
  PlayerTextDrawBoxColor(playerid, PWhite123123123, 0xFFFFFFFF);
  PlayerTextDrawSetProportional(playerid, PWhite123123123, 1);
  PlayerTextDrawTextSize(playerid, PWhite123123123, 45.0, 45.0);
  PlayerTextDrawShow(playerid, PWhite123123123);
  PRed123123123 = CreatePlayerTextDraw(playerid, x, y+13.0, "_~n~");
  PlayerTextDrawAlignment(playerid, PRed123123123, 2);
  PlayerTextDrawUseBox(playerid, PRed123123123, 1);
  PlayerTextDrawBoxColor(playerid, PRed123123123, 0xFF0000FF);
  PlayerTextDrawSetProportional(playerid, PRed123123123, 1);
  PlayerTextDrawTextSize(playerid, PRed123123123, 45.0, 45.0);
  PlayerTextDrawShow(playerid, PRed123123123);
  return 1;
}

stock NFlagGermany(playerid, Float:x, Float:y)
{
     GBlack123123123 = CreatePlayerTextDraw(playerid, x, y, "_~n~");
  PlayerTextDrawAlignment(playerid, GBlack123123123, 2);
  PlayerTextDrawUseBox(playerid, GBlack123123123, 1);
  PlayerTextDrawBoxColor(playerid, GBlack123123123, 0x000000FF);
  PlayerTextDrawSetProportional(playerid, GBlack123123123, 1);
  PlayerTextDrawTextSize(playerid, GBlack123123123, 45.0, 45.0);
  PlayerTextDrawShow(playerid, GBlack123123123);
  GRed123123123 = CreatePlayerTextDraw(playerid, x, y+13.0, "_~n~");
  PlayerTextDrawAlignment(playerid, GRed123123123, 2);
  PlayerTextDrawUseBox(playerid, GRed123123123, 1);
  PlayerTextDrawBoxColor(playerid, GRed123123123,0xFF0000FF);
  PlayerTextDrawSetProportional(playerid, GRed123123123, 1);
  PlayerTextDrawTextSize(playerid, GRed123123123, 45.0, 45.0);
  PlayerTextDrawShow(playerid, GRed123123123);
  GYellow123123123 = CreatePlayerTextDraw(playerid, x, y+26.0, "_~n~");
  PlayerTextDrawAlignment(playerid, GYellow123123123, 2);
  PlayerTextDrawUseBox(playerid, GYellow123123123, 1);
  PlayerTextDrawBoxColor(playerid, GYellow123123123, 0xFFFF00FF);
  PlayerTextDrawSetProportional(playerid, GYellow123123123, 1);
  PlayerTextDrawTextSize(playerid, GYellow123123123, 45.0, 45.0);
  PlayerTextDrawShow(playerid, GYellow123123123);
  return 1;
}

stock NFlagSpain(playerid, Float:x, Float:y)
{
     SRed123123123 = CreatePlayerTextDraw(playerid, x, y, "_~n~");
  PlayerTextDrawAlignment(playerid, SRed123123123, 2);
  PlayerTextDrawUseBox(playerid, SRed123123123, 1);
  PlayerTextDrawBoxColor(playerid, SRed123123123, 0xFF0000FF);
  PlayerTextDrawSetProportional(playerid, SRed123123123, 1);
  PlayerTextDrawTextSize(playerid, SRed123123123, 45.0, 45.0);
  PlayerTextDrawShow(playerid, SRed123123123);
  SYellow123123123 = CreatePlayerTextDraw(playerid, x, y+13.0, "_~n~");
  PlayerTextDrawAlignment(playerid, SYellow123123123, 2);
  PlayerTextDrawUseBox(playerid, SYellow123123123, 1);
  PlayerTextDrawBoxColor(playerid, SYellow123123123, 0xFFFF00FF);
  PlayerTextDrawSetProportional(playerid, SYellow123123123, 1);
  PlayerTextDrawTextSize(playerid, SYellow123123123, 45.0, 45.0);
  PlayerTextDrawShow(playerid, SYellow123123123);
  SRed1123123123 = CreatePlayerTextDraw(playerid, x, y+26.0, "_~n~");
  PlayerTextDrawAlignment(playerid, SRed1123123123, 2);
  PlayerTextDrawUseBox(playerid, SRed1123123123, 1);
  PlayerTextDrawBoxColor(playerid, SRed1123123123, 0xFF0000FF);
  PlayerTextDrawSetProportional(playerid, SRed1123123123, 1);
  PlayerTextDrawTextSize(playerid, SRed1123123123, 45.0, 45.0);
  PlayerTextDrawShow(playerid, SRed1123123123);
  return 1;
}

stock NFlagHideRussia(playerid)
{
  PlayerTextDrawHide(playerid, RWhite123123123);
  PlayerTextDrawHide(playerid, RRed123123123);
  PlayerTextDrawHide(playerid, RBlue123123123);
  return true;
}

stock NFlagHideUkraine(playerid)
{
  PlayerTextDrawHide(playerid, UBlue123123123);
  PlayerTextDrawHide(playerid, UYellow123123123);
  return true;
}

stock NFlagHidePoland(playerid)
{
  PlayerTextDrawHide(playerid, PWhite123123123);
  PlayerTextDrawHide(playerid, PRed123123123);
  return true;
}

stock NFlagHideGermany(playerid)
{
  PlayerTextDrawHide(playerid, GBlack123123123);
  PlayerTextDrawHide(playerid, GRed123123123);
  PlayerTextDrawHide(playerid, GYellow123123123);
  return true;
}

stock NFlagHideSpain(playerid)
{
  PlayerTextDrawHide(playerid, SRed123123123);
  PlayerTextDrawHide(playerid, SYellow123123123);
  PlayerTextDrawHide(playerid, SRed1123123123);
  return true;
}



Скачать

Автор: ultrascripter



Когда нет знания, есть мнение.
Плисс Дата: Вторник, 19.07.2016, 20:45 | Сообщение # 2
Боец
Сообщений: 70
Статус: Offline
Кросс

Сообщение отредактировал Плисс - Вторник, 19.07.2016, 20:45
MrVittall Дата: Четверг, 05.09.2019, 15:02 | Сообщение # 3
Новичок
Сообщений: 5
Статус: Offline


Сообщение отредактировал MrVittall - Четверг, 05.09.2019, 15:02
Форум » Pawno программирование SAMP » Include и Plugins » [Include] TextDraw FLAG
  • Страница 1 из 1
  • 1
Поиск:
Статистика Форума
Лучшие пользователи
Admin [39113]

GеNius [7209]

[CM]Russel [5557]

kenlo763 [4952]

[CM]AGRESSOR [4639]

Snake_Firm [4452]

Сэс [4416]

Artem_Buero [4223]

[CM]Durman [3204]

[CM]Рафаэль [3080]

iMaddy [2855]

sky_Woker [2854]

getrekt [2745]

Новые пользователи
Stanislav_ss [16:05]

123131312312314534 [13:41]

Pan40xxl [12:36]

chinazes000 [11:29]

donaldga2 [05:28]

rubenia18 [21:17]

pokotiloroman91 [18:24]

stephensh5 [12:00]

calliesv7 [06:11]

louqm16 [22:14]

artushak [16:32]

Kingpolker [15:42]

leeyv11 [15:12]