RcLuton

[AirportWars] Fun Event For Your Server (0.3)

Aug 26th, 2014
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 15.48 KB | None | 0 0
  1. //Copyright RcLuton 2014!!!
  2.  
  3.  
  4. #include <a_samp>
  5. #define FILTERSCRIPT
  6. #if defined FILTERSCRIPT
  7.  
  8. //COLORS//COLORS/////////////
  9. //Shades of red
  10. #define COLOR_INDIANRED 0xCD5C5CFF
  11. #define COLOR_LIGHTCORAL 0xF08080FF
  12. #define COLOR_SALMON 0xFA8072FF
  13. #define COLOR_DARKSALMON 0xE9967AFF
  14. #define COLOR_LIGHTSALMON 0xFFA07AFF
  15. #define COLOR_CRIMSON 0xDC143CFF
  16. #define COLOR_RED 0xFF0000FF
  17. #define COLOR_FIREBRICK B22222FF
  18. #define COLOR_DARKRED 0x8B0000FF
  19.  
  20. //Shades of pink
  21. #define COLOR_PINK 0xFFC0CBFF
  22. #define COLOR_LIGHTPINK 0xFFB6C1FF
  23. #define COLOR_HOTPINK 0xFF69B4FF
  24. #define COLOR_DEEPPINK 0xFF1493FF
  25. #define COLOR_MEDIUMVIOLETRED 0xC71585FF
  26. #define COLOR_PALEVIOLETRED 0xDB7093FF
  27.  
  28. //Shades of Orange
  29. #define COLOR_CORAL 0xFF7F50FF
  30. #define COLOR_TOMATO 0xFF6347FF
  31. #define COLOR_ORANGERED 0xFF4500FF
  32. #define COLOR_DARKORANGE 0xFF8C00FF
  33. #define COLOR_ORANGE 0xFFA500FF
  34.  
  35. //Shades of Yellow
  36. #define COLOR_GOLD 0xFFD700FF
  37. #define COLOR_YELLOW 0xFFFF00FF
  38. #define COLOR_LIGHTYELLOW 0xFFFFE0FF
  39. #define COLOR_LEMONCHIFFON 0xFFFACDFF
  40. #define COLOR_LIGHTGOLDENRODYELLOW 0xFAFAD2FF
  41. #define COLOR_PAPAYAWHIP 0xFFEFD5FF
  42. #define COLOR_MOCCASIN 0xFFE4B5FF
  43. #define COLOR_PEACHPUFF 0xFFDAB9FF
  44. #define COLOR_PALEGOLDENROD 0xEEE8AAFF
  45. #define COLOR_KHAKI 0xF0E68CFF
  46. #define COLOR_DARKKHAKI 0xBDB76BFF
  47.  
  48. //Shades of Purple
  49. #define COLOR_LAVENDER 0xE6E6FAFF
  50. #define COLOR_THISTLE 0xD8BFD8FF
  51. #define COLOR_PLUM 0xDDA0DDFF
  52. #define COLOR_VIOLET 0xEE82EEFF
  53. #define COLOR_ORCHID 0xDA70D6FF
  54. #define COLOR_FUCHSIA 0xFF00FFFF
  55. #define COLOR_MAGENTA 0xFF00FFFF
  56. #define COLOR_MEDIUMORCHID 0xBA55D3FF
  57. #define COLOR_MEDIUMPURPLE 0x9370DBFF
  58. #define COLOR_AMETHYST 0x9966CCFF
  59. #define COLOR_BLUEVIOLET 0x8A2BE2FF
  60. #define COLOR_DARKVIOLET 0x9400D3FF
  61. #define COLOR_DARKORCHID 0x9932CCFF
  62. #define COLOR_DARKMAGENTA 0x8B008BFF
  63. #define COLOR_PURPLE 0x800080FF
  64. #define COLOR_INDIGO 0x4B0082FF
  65. #define COLOR_SLATEBLUE 0x6A5ACDFF
  66. #define COLOR_DARKSLATEBLUE 0x483D8BFF
  67. #define COLOR_MEDIUMSLATEBLUE 0x7B68EEFF
  68.  
  69. //Shades of Green
  70. #define COLOR_GREENYELLOW 0xADFF2FFF
  71. #define COLOR_CHARTREUSE 0x7FFF00FF
  72. #define COLOR_LAWNGREEN 0x7CFC00FF
  73. #define COLOR_LIME 0x00FF00FF
  74. #define COLOR_LIMEGREEN 0x32CD32FF
  75. #define COLOR_PALEGREEN 0x98FB98FF
  76. #define COLOR_LIGHTGREEN 0x90EE90FF
  77. #define COLOR_MEDIUMSPRINGGREEN 0x00FA9AFF
  78. #define COLOR_SPRINGGREEN 0x00FF7FFF
  79. #define COLOR_MEDIUMSEAGREEN 0x3CB371FF
  80. #define COLOR_SEAGREEN 0x2E8B57FF
  81. #define COLOR_FORESTGREEN 0x228B22FF
  82. #define COLOR_GREEN 0x008000FF
  83. #define COLOR_DARKGREEN 0x006400FF
  84. #define COLOR_YELLOWGREEN 0x9ACD32FF
  85. #define COLOR_OLIVEDRAB 0x6B8E23FF
  86. #define COLOR_OLIVE 0x808000FF
  87. #define COLOR_DARKOLIVEGREEN 0x556B2FFF
  88. #define COLOR_MEDIUMAQUAMARINE 0x66CDAAFF
  89. #define COLOR_DARKSEAGREEN 0x8FBC8FFF
  90. #define COLOR_LIGHTSEAGREEN 0x20B2AAFF
  91. #define COLOR_DARKCYAN 0x008B8BFF
  92. #define COLOR_TEAL 0x008080FF
  93.  
  94. //Shades of Blue/Cyan
  95. #define COLOR_AQUA 0x00FFFFFF
  96. #define COLOR_CYAN 0x00FFFFFF
  97. #define COLOR_LIGHTCYAN 0xE0FFFFFF
  98. #define COLOR_PALETURQUOISE 0xAFEEEEFF
  99. #define COLOR_AQUAMARINE 0x7FFFD4FF
  100. #define COLOR_TURQUOISE 0x40E0D0FF
  101. #define COLOR_MEDIUMTURQUOISE 0x48D1CC
  102. #define COLOR_DARKTURQUOISE 0x00CED1FF
  103. #define COLOR_CADETBLUE 0x5F9EA0FF
  104. #define COLOR_STEELBLUE 0x4682B4FF
  105. #define COLOR_LIGHTSTEELBLUE 0xB0C4DEFF
  106. #define COLOR_POWDERBLUE 0xB0E0E6FF
  107. #define COLOR_LIGHTBLUE 0xADD8E6FF
  108. #define COLOR_SKYBLUE 0x87CEEBFF
  109. #define COLOR_LIGHTSKYBLUE 0x87CEFAFF
  110. #define COLOR_DEEPSKYBLUE 0x00BFFFFF
  111. #define COLOR_DODGERBLUE 0x1E90FFFF
  112. #define COLOR_CORNFLOWERBLUE 0x6495EDFF
  113. #define COLOR_MEDIUMSLATEBLUE 0x7B68EEFF
  114. #define COLOR_ROYALBLUE 0x4169E1FF
  115. #define COLOR_BLUE 0x0000FFFF
  116. #define COLOR_MEDIUMBLUE 0x0000CDFF
  117. #define DARKBLUE 0x00008BFF
  118. #define COLOR_NAVY 0x000080FF
  119. #define COLOR_MIDNIGHTBLUE 0x191970FF
  120.  
  121. //Shades of Brown
  122. #define COLOR_CORNSILK 0xFFF8DCFF
  123. #define COLOR_BLANCHEDALMOND 0xFFEBCDFF
  124. #define COLOR_BISQUE 0xFFE4C4FF
  125. #define COLOR_NAVAJOWHITE 0xFFDEADFF
  126. #define COLOR_WHEAT 0xF5DEB3FF
  127. #define COLOR_BURLYWOOD 0xDEB887FF
  128. #define COLOR_TAN 0xD2B48CFF
  129. #define COLOR_ROSYBROWN 0xBC8F8FFF
  130. #define COLOR_SANDYBROWN 0xF4A460FF
  131. #define COLOR_DARKGOLDENROD 0xB8860BFF
  132. #define COLOR_PERU 0xCD853FFF
  133. #define COLOR_SADDLEBROWN 0x8B4513FF
  134. #define COLOR_SIENNA 0xA0522DFF
  135. #define COLOR_BROWN 0xA52A2AFF
  136. #define COLOR_MAROON 0x800000FF
  137.  
  138. //Shades of Grey
  139. #define COLOR_WHITE 0xFFFFFFFF
  140. #define COLOR_GAINSBORO 0xDCDCDCFF
  141. #define COLOR_LIGHTGREY 0xD3D3D3FF
  142. #define COLOR_SILVER 0xC0C0C0FF
  143. #define COLOR_DARKGRAY 0xA9A9A9FF
  144. #define COLOR_GRAY 0x808080FF
  145. #define COLOR_DIMGRAY 0x696969FF
  146. #define COLOR_LIGHTSLATEGRAY 0x778899FF
  147. #define COLOR_SLATEGRAY 0x708090FF
  148. #define COLOR_DARKSLATEGRAY 0x2F4F4FFF
  149. #define COLOR_BLACK 0x000000FF
  150. //COLORS//COLORS//COLORS//COLORS
  151.  
  152. ///Mount Chilliard Airport Base!!!
  153. // It's a part of an AirportsMaps
  154.  
  155.     CreateObject(8357, -2307.14722, -1551.99878, 483.27771,   0.00000, 0.00000, 0.00000);
  156.     CreateObject(8357, -2307.14722, -1763.41711, 483.27771,   0.00000, 0.00000, 180.00000);
  157.     CreateObject(19340, -2330.82544, -1650.35522, 479.49261,   0.00000, 0.00000, 180.00000);
  158.     CreateObject(19340, -2330.96997, -1786.30164, 479.49261,   0.00000, 0.00000, 0.00000);
  159.     CreateObject(19340, -2330.96997, -1786.30164, 479.49261,   180.00000, 0.00000, 0.00000);
  160.     CreateObject(19340, -2330.96997, -1786.30164, 479.49261,   180.00000, 0.00000, 180.00000);
  161.     CreateObject(19340, -2330.96997, -1786.30164, 479.49261,   0.00000, 0.00000, 180.00000);
  162.     CreateObject(19340, -2324.45386, -1532.18958, 479.49261,   0.00000, 0.00000, 0.00000);
  163.     CreateObject(19340, -2324.45386, -1532.18958, 479.49261,   180.00000, 0.00000, 0.00000);
  164.     CreateObject(19340, -2324.45386, -1532.18958, 479.49261,   180.00000, 0.00000, 180.00000);
  165.     CreateObject(19340, -2324.45386, -1532.18958, 479.49261,   0.00000, 0.00000, 180.00000);
  166.     CreateObject(2774, -3118.87305, -1954.14490, 22.55961,   0.00000, 0.00000, 0.00000);
  167.     CreateObject(2774, -3118.87305, -1954.14490, -0.11749,   0.00000, 0.00000, 0.00000);
  168.     CreateObject(2774, -2355.97290, -1546.12781, 468.54233,   0.00000, 0.00000, 0.00000);
  169.     CreateObject(2774, -2316.20874, -1550.66089, 468.54233,   0.00000, 0.00000, 0.00000);
  170.     CreateObject(2774, -2293.74927, -1563.65051, 468.54233,   0.00000, 0.00000, 0.00000);
  171.     CreateObject(2774, -2281.25635, -1578.67700, 468.54233,   0.00000, 0.00000, 0.00000);
  172.     CreateObject(2774, -2303.36914, -1556.22913, 468.54233,   0.00000, 0.00000, 0.00000);
  173.     CreateObject(2774, -2285.96509, -1569.40955, 468.54233,   0.00000, 0.00000, 0.00000);
  174.     CreateObject(2774, -2337.23169, -1547.02100, 468.54233,   0.00000, 0.00000, 0.00000);
  175.     CreateObject(2774, -2367.21338, -1546.70129, 468.54233,   0.00000, 0.00000, 0.00000);
  176.     CreateObject(2774, -2346.65527, -1546.66650, 468.54233,   0.00000, 0.00000, 0.00000);
  177.     CreateObject(2774, -2372.08545, -1767.79712, 468.54233,   0.00000, 0.00000, 0.00000);
  178.     CreateObject(2774, -2340.82373, -1789.28467, 468.54233,   0.00000, 0.00000, 0.00000);
  179.     CreateObject(2774, -2291.77051, -1744.95898, 468.54233,   0.00000, 0.00000, 0.00000);
  180.     CreateObject(2774, -2352.34253, -1782.33777, 468.54233,   0.00000, 0.00000, 0.00000);
  181.     CreateObject(2774, -2299.69678, -1755.35559, 468.54233,   0.00000, 0.00000, 0.00000);
  182.     CreateObject(2774, -2311.20776, -1769.72424, 468.54233,   0.00000, 0.00000, 0.00000);
  183.     CreateObject(2774, -2324.07227, -1784.20020, 468.54233,   0.00000, 0.00000, 0.00000);
  184.     CreateObject(2774, -2324.07227, -1784.20020, 468.54233,   0.00000, 0.00000, 0.00000);
  185.     CreateObject(9241, -2353.55151, -1678.50635, 484.82880,   0.00000, 0.00000, 0.00000);
  186.     CreateObject(9241, -2353.35522, -1707.94373, 484.82880,   0.00000, 0.00000, 0.00000);
  187.     CreateObject(16098, -2346.00537, -1487.02820, 488.06516,   0.00000, 0.00000, 0.00000);
  188.     CreateObject(8038, -2351.49731, -1815.19922, 503.30771,   0.00000, 0.00000, 0.00000);
  189.     CreateObject(7981, -2352.06055, -1760.85498, 487.80447,   0.00000, 0.00000, 0.00000);
  190.     CreateObject(1682, -2345.54761, -1761.05750, 499.10861,   0.00000, 0.00000, 245.00000);
  191.  
  192. ///////NEW/////////
  193. new Text:E_TenSecToStart;
  194. new Text:R_GetIntoPlanes;
  195. new Text:R_PrepareForTakeOf;
  196. new Text:R_StartOneByOne;
  197. new Text:E_NoCrashToTeam;
  198. new Text:E_TenMinLeft;
  199. new Text:R_TakeEnemyDown;
  200. new Text:E_NoReconnect;
  201. new Text:E_FiveMinLeft;
  202. new Text:R_MisionComplete;
  203. new Text:E_TwoMinEjectPlease;
  204.  
  205. forward T_TenSecToStart();
  206. forward T_GetIntoPlanes();
  207. forward T_PrepareForTakeOf();
  208. forward T_StartOneByOne();
  209. forward T_NoCrashToTeam();
  210. forward T_TenMinLeft();
  211. forward T_TakeEnemyDown();
  212. forward T_NoReconnect();
  213. forward T_FiveMinLeft();
  214. forward T_MisionComplete();
  215. forward T_TwoMinEjectPlease();
  216. forward T_DelAllVehicles();
  217. //////NEW/////////
  218.  
  219. public OnFilterScriptInit()
  220. {
  221. ////////TextDraw/////////  (You can remake the text(using in textdraws))
  222.     E_TenSecToStart = TextDrawCreate(149 ,370,"[EVENT]10 seconds to start AirportWars!GET OUT OF VEHICLES!");
  223.     TextDrawLetterSize(E_TenSecToStart , 0.4, 1.0);
  224.     R_GetIntoPlanes = TextDrawCreate(149 ,370,"[Radio]Get into planes!");
  225.     TextDrawLetterSize(R_GetIntoPlanes , 0.4, 1.0);
  226.     R_PrepareForTakeOf = TextDrawCreate(149 ,370,"[Radio]Prepare For TakeOff 10sec left!");
  227.     TextDrawLetterSize(R_PrepareForTakeOf , 0.4, 1.0);
  228.     R_StartOneByOne = TextDrawCreate(149 ,424,"[Radio]Start!One by one TakOFF!");
  229.     TextDrawLetterSize(R_StartOneByOne , 0.4, 1.0);
  230.     E_NoCrashToTeam = TextDrawCreate(149 ,449,"[EVENT]No Crashing to teammate!");
  231.     TextDrawLetterSize(E_NoCrashToTeam , 0.4, 1.0);
  232.     E_TenMinLeft = TextDrawCreate(149 ,370,"[EVENT]10 Mins Left");
  233.     TextDrawLetterSize(E_TenMinLeft , 0.4, 1.0);
  234.     E_FiveMinLeft = TextDrawCreate(149 ,370,"[EVENT]5 Mins Left");
  235.     TextDrawLetterSize(E_FiveMinLeft , 0.4, 1.0);
  236.     R_TakeEnemyDown = TextDrawCreate(149 ,370,"[Radio]Take enemy down by shooting or crashing!");
  237.     TextDrawLetterSize(R_TakeEnemyDown , 0.4, 1.0);
  238.     E_NoReconnect = TextDrawCreate(149 ,370,"[EVENT]No reconnecting to fight!");
  239.     TextDrawLetterSize(E_NoReconnect , 0.4, 1.0);
  240.     R_MisionComplete = TextDrawCreate(149 ,370,"[EVENT]Mission Complete... Let's land on nearest airport!");
  241.     TextDrawLetterSize(R_MisionComplete , 0.4, 1.0);
  242.     E_TwoMinEjectPlease = TextDrawCreate(149 ,370,"[EVENT]You have 2 min to land... Wehicles will be destroyed!");
  243.     TextDrawLetterSize(E_TwoMinEjectPlease , 0.4, 1.0);
  244. ///////TextDraw/////////////
  245.     return 1;
  246. }
  247. public OnPlayerConnect(playerid)
  248. {
  249.     SendClientMessage(playerid, COLOR_RED, "[AirportWars] This Server Is using Airport Wars Mod made by RC_Luton!!");
  250. }
  251.  
  252. public OnFilterScriptExit()
  253. {
  254.     return 1;
  255. }
  256.  
  257. #else
  258.  
  259. main()
  260. {
  261. }
  262.  
  263. #endif
  264.  
  265. public OnPlayerCommandText(playerid, cmdtext[])
  266. {
  267.     if (strcmp("/awars", cmdtext, true, 10) == 0) //command to start mod
  268.     {
  269.     SendClientMessage(playerid, COLOR_RED, "Mod Started Succesfully");
  270.         TextDrawShowForAll(E_TenSecToStart);
  271.     SetTimer("T_TenSecToStart", 10000, false);
  272.     return 1;
  273.     }
  274.     return 0;
  275. }
  276.  
  277. ///////////////////////////////TIMER///////////////////////////////////
  278. public T_TenSecToStart() //current timer
  279. {
  280.     TextDrawHideForAll(E_TenSecToStart);
  281. //RED_PLAYERS
  282.     SetPlayerPos(0, 2016.1212,-2625.3450,13.5469);  //1
  283.     SetPlayerPos(2, 2011.1008,-2624.5168,13.5469);  //2
  284.     SetPlayerPos(4, 2005.8405,-2623.8135,13.5469);  //3
  285.     SetPlayerPos(6, 1999.5184,-2623.1338,13.5469);  //4
  286.     SetPlayerPos(8, 1993.3531,-2623.7563,13.5469);  //5
  287.     SetPlayerPos(10, 1986.4323,-2623.4226,13.5469); //6
  288.     SetPlayerPos(12, 1981.1073,-2624.0623,13.5469); //7
  289.     SetPlayerPos(14, 1975.2656,-2623.5510,13.5469); //8
  290.     SetPlayerPos(16, 1969.5159,-2623.3574,13.5469); //9
  291.     SetPlayerPos(18, 1964.6799,-2622.8376,13.5469); //10
  292. //BLUE_PLAYERS
  293.     SetPlayerPos(1, -2332.6902,-1823.0282,484.242);   //1
  294.     SetPlayerPos(3, -2332.2905,-1819.4619,484.2426);  //2
  295.     SetPlayerPos(4, -2331.8879,-1815.4247,484.2426);  //3
  296.     SetPlayerPos(7, -2331.4233,-1811.8801,484.2426);  //4
  297.     SetPlayerPos(9, -2330.9319,-1809.2404,484.2426);  //5
  298.     SetPlayerPos(11, -2330.4497,-1807.1182,484.2426); //6
  299.     SetPlayerPos(13, -2329.9631,-1804.6053,484.2426); //7
  300.     SetPlayerPos(15, -2329.8396,-1801.8020,484.2426); //8
  301.     SetPlayerPos(17, -2329.4341,-1798.2567,484.2426); //9
  302.     SetPlayerPos(19, -2328.9480,-1794.5732,484.2426); //10
  303. //RED_RUSTLERS
  304.     CreateVehicle(476, 1760.6018,-2593.3472,13.5469, 89.3852, 3, 3, -1); //1
  305.     CreateVehicle(476, 1780.5809,-2593.6743,13.5469, 89.3852, 3, 3, -1); //2
  306.     CreateVehicle(476, 1805.0050,-2593.4233,13.5469, 89.3852, 3, 3, -1); //3
  307.     CreateVehicle(476, 1838.9233,-2594.2192,13.5469, 89.3852, 3, 3, -1); //4
  308.     CreateVehicle(476, 1865.1741,-2593.1868,13.5469, 89.3852, 3, 3, -1); //5
  309.     CreateVehicle(476, 1881.6252,-2592.7444,13.5469, 89.3852, 3, 3, -1); //6
  310.     CreateVehicle(476, 1898.6128,-2593.4534,13.5469, 89.3852, 3, 3, -1); //7
  311.     CreateVehicle(476, 1917.2668,-2592.8936,13.5469, 89.3852, 3, 3, -1); //8
  312.     CreateVehicle(476, 1938.2861,-2594.0083,13.5469, 89.3852, 3, 3, -1); //9
  313.     CreateVehicle(476, 1964.3821,-2592.8254,13.5469, 89.3852, 3, 3, -1); //10
  314. //BLUE_RUSTLERS
  315.     CreateVehicle(476, -2307.3662,-1751.0397,484.2621, 359.8505, 2, 2, -1); //1
  316.     CreateVehicle(476, -2307.3887,-1760.5782,484.2621, 359.8505, 2, 2, -1); //2
  317.     CreateVehicle(476, -2307.1177,-1765.9125,484.2621, 359.8505, 2, 2, -1); //3
  318.     CreateVehicle(476, -2307.4685,-1769.5769,484.2621, 359.8505, 2, 2, -1); //4
  319.     CreateVehicle(476, -2307.4409,-1776.8506,484.2621, 359.8505, 2, 2, -1); //5
  320.     CreateVehicle(476, -2307.5291,-1782.2936,484.2621, 359.8505, 2, 2, -1); //6
  321.     CreateVehicle(476, -2307.2109,-1791.1349,484.2621, 359.8505, 2, 2, -1); //7
  322.     CreateVehicle(476, -2307.0320,-1802.0167,484.2621, 359.8505, 2, 2, -1); //8
  323.     CreateVehicle(476, -2307.1721,-1812.1504,484.2621, 359.8505, 2, 2, -1); //9
  324.     CreateVehicle(476, -2306.9485,-1821.0416,484.2621, 359.8505, 2, 2, -1); //10
  325.     SetTimer("T_GetIntoPlanes", 10000, false); //next timer
  326. }
  327.  
  328. public T_GetIntoPlanes() //current timer
  329. {
  330.  
  331.     TextDrawShowForAll(R_GetIntoPlanes); //current textdraw
  332.     SetTimer("T_PrepareForTakeOf", 20000, false); //next timer
  333. }
  334.  
  335. public T_PrepareForTakeOf() //current timer
  336. {
  337.     TextDrawHideForAll(R_GetIntoPlanes); //del prev textdraw
  338.     TextDrawShowForAll(R_PrepareForTakeOf); //current textdraw
  339.     SetTimer("T_StartOneByOne", 1000, false); //next timer
  340. }
  341.  
  342. public T_StartOneByOne() //current timer
  343. {
  344.     TextDrawHideForAll(R_PrepareForTakeOf); //del prev textdraw
  345.     TextDrawShowForAll(R_StartOneByOne); //current textdraw
  346.     SetTimer("T_NoCrashToTeam", 3000, false); //next timer
  347. }
  348.  
  349. public T_NoCrashToTeam() //current timer
  350. {
  351.     TextDrawHideForAll(R_StartOneByOne); //del prev textdraw
  352.     TextDrawShowForAll(E_NoCrashToTeam); //current textdraw
  353.     SetTimer("T_TenMinLeft", 300000, false); //next timer
  354. }
  355.  
  356. public T_TenMinLeft() //current timer
  357. {
  358.     TextDrawHideForAll(E_NoCrashToTeam); //del prev textdraw
  359.     TextDrawShowForAll(E_TenMinLeft); //current textdraw
  360.     SetTimer("T_MisionComplete", 300000, false); //next timer
  361. }
  362.  
  363. public T_MisionComplete() //current timer
  364. {
  365.     TextDrawHideForAll(E_TenMinLeft); //del prev textdraw
  366.     TextDrawShowForAll(R_MisionComplete); //current textdraw
  367.     SetTimer("T_TwoMinEjectPlease", 300000, false); //next timer
  368. }
  369.  
  370. public T_TwoMinEjectPlease() //current timer
  371. {
  372.     TextDrawHideForAll(R_MisionComplete); //del prev textdraw
  373.     TextDrawShowForAll(E_TwoMinEjectPlease); //current textdraw
  374.     SetTimer("T_DelAllVehicles", 300000, false); //next timer
  375. }
  376.  
  377. public T_DelAllVehicles()
  378. {
  379.     DestroyVehicle(476);
  380.     SendClientMessageToAll(COLOR_GREEN, "The Airport Wars winner will be promoted by Admin.");
  381.     SendClientMessageToAll(COLOR_GREEN, "If you have a problem with event, please tell Admin");
  382.     SendClientMessageToAll(COLOR_YELLOW, "See you in next event :D");
  383. }
Advertisement
Add Comment
Please, Sign In to add comment