SHARE
TWEET

Weponz Counter-Strike Battleship Source For SAMP

a guest Oct 28th, 2010 1,512 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //-----------------------------[CREDITS]--------------------------------------//
  2. //----------------------Counter-Strike-Battle-Ship----------------------------//
  3. //--------------------------Scripted By Weponz--------------------------------//
  4. //------Do Not Remove Me From Credits,If You Change /credits Leave Me!--------//
  5. //-----------------------------[SCRIPT]---------------------------------------//
  6. #include <a_samp>
  7. #include <JunkBuster>
  8.  
  9. #define WHITE                                   0xFFFFFFAA
  10. #define RED                                             0xFF0000FF
  11. #define BLUE                                0x0000FFFF
  12. #define YELLOW                                  0xFFFF00FF
  13. #define ORANGE                                  0xFF8000FF
  14. #define PINK                                    0xFF80C0FF
  15. #define LIGHTBLUE                               0x0080C0FF
  16. #define GREY                    0xAFAFAFAA
  17. #define TEAM_TERRORISTS 1
  18. #define TEAM_COUNTERTERRORISTS 2
  19. #define COLOR_BLUE              0x95DFECFF
  20. #define COLOR_RED               0xFF6A6AFF
  21. #define COLOR_DIS_RED           0xFF0000FF
  22. #define COLOR_CON_GREEN         0x00FF00FF
  23.  
  24. new gTeam[MAX_PLAYERS];
  25. new KillingSpree[MAX_PLAYERS];
  26. new gangzone1;
  27. new gangzone2;
  28. new gangzone3;
  29. new gangzone4;
  30. new gangzone5;
  31.  
  32. forward NoSpawnKill(playerid);
  33. forward SetPlayerTeamFromClass(playerid,classid);
  34. forward SendMSG();
  35.  
  36. new RandomMSG[][] =
  37. {
  38.     "[BOT]: Type /rules Before Playing!,Use /commands For Your Available Commands",
  39.     "[BOT]: This Server Was Scripted And Mapped Solo By Weponz! ||Weponz Inc. 2010||",
  40.     "[BOT]: (TeamChat) Counter Terrorists Use:/ct [msg] || Terrorists Use:/tc [msg]"
  41. };
  42.  
  43. public SendMSG()
  44. {
  45.  
  46.     new randMSG = random(sizeof(RandomMSG));
  47.     SendClientMessageToAll(WHITE, RandomMSG[randMSG]);
  48. }
  49. public OnGameModeInit()
  50. {
  51.    SetGameModeText("Counter-Strike");
  52.    ShowNameTags(1);
  53.    ShowPlayerMarkers(1);
  54.    SetWorldTime(12);
  55.    AllowInteriorWeapons(1);
  56.    EnableStuntBonusForAll(0);
  57.    EnableTirePopping(0);
  58.    SetTimer("SendMSG", 120000, true);
  59.  
  60. gangzone1 = GangZoneCreate(-2563.4382,1469.6971,-2100.4907,1527.3094);//Terro Airstrip
  61. gangzone2 = GangZoneCreate(-2519.7449,1522.9865,-2301.2578,1572.2097);//Terro Container Ship
  62. gangzone3 = GangZoneCreate(-2394.2249,1576.3990,-2172.5098,1607.0685);//CT Carrier 1
  63. gangzone4 = GangZoneCreate(-2454.1956,1579.8042,-2423.5278,1801.3911);//CT Carrier 2
  64. gangzone5 = GangZoneCreate(-2323.7312,1675.7844,-2111.0886,1949.0634);//Tank Island
  65.  
  66.  
  67.    //Spawn Points
  68.    AddPlayerClass(122, -2552.5056,1501.6616,16.9075,242.4535, 30, 500, 26, 400, 35, 50);//T
  69.    AddPlayerClass(124, -2471.7629,1537.1256,33.2344,358.6153, 30, 500, 26, 400, 35, 50);//T
  70.    AddPlayerClass(125, -2552.5056,1501.6616,16.9075,242.4535, 30, 500, 26, 400, 35, 50);//T
  71.    AddPlayerClass(127, -2471.7629,1537.1256,33.2344,358.6153, 30, 500, 26, 400, 35, 50);//T
  72.    AddPlayerClass(286, -2366.3794,1602.9595,9.4613,267.8376, 31, 500, 26, 400, 35, 50);//CT
  73.    AddPlayerClass(285, -2449.7168,1605.3429,9.1973,2.3961, 31, 500, 26, 400, 35, 50);//CT
  74.    AddPlayerClass(287, -2366.3794,1602.9595,9.4613,267.8376, 31, 500, 26, 400, 35, 50);//CT
  75.    AddPlayerClass(179, -2449.7168,1605.3429,9.1973,2.3961, 31, 500, 26, 400, 35, 50);//CT
  76.    //Health Pickups
  77.    AddStaticPickup(1240, 2, -2370.0073,1547.8729,2.1172);
  78.    AddStaticPickup(1240, 2, -2473.2593,1545.4688,33.2273);
  79.    AddStaticPickup(1240, 2, -2331.3948,1558.4808,33.4063);
  80.    AddStaticPickup(1240, 2, -2381.2439,1550.1049,47.9315);
  81.    AddStaticPickup(1240, 2, -2416.9146,1551.2083,47.9375);
  82.    AddStaticPickup(1240, 2, -2455.0337,1534.7198,45.0245);
  83.    AddStaticPickup(1240, 2, -2361.6406,1600.7537,9.4613);//
  84.    AddStaticPickup(1240, 2, -2368.9829,1587.5480,16.5039);//
  85.    AddStaticPickup(1240, 2, -2236.6799,1585.7810,32.5820);//
  86.    AddStaticPickup(1240, 2, -2320.6108,1585.9514,32.5820);//
  87.    AddStaticPickup(1240, 2, -2368.8433,1585.2505,32.5820);//
  88.    AddStaticPickup(1240, 2, -2549.4006,1501.4049,16.9075);//
  89.    AddStaticPickup(1240, 2, -2466.6760,1519.0897,16.7835);//
  90.    AddStaticPickup(1240, 2, -2168.4199,1478.3378,17.0633);//
  91.    AddStaticPickup(1240, 2, -2112.0835,1518.0266,33.1487);//
  92.    AddStaticPickup(1240, 2, -2173.6499,1474.6400,33.1487);//
  93.    AddStaticPickup(1240, 2, -2268.2744,1520.9723,33.0140);//
  94.    AddStaticPickup(1240, 2, -2341.6772,1474.8550,33.0194);//
  95.    AddStaticPickup(1240, 2, -2439.3054,1521.2340,32.9639);//
  96.    AddStaticPickup(1240, 2, -2477.6208,1474.5103,32.9857);//
  97.    AddStaticPickup(1240, 2, -2529.3250,1519.6875,32.9784);//
  98.    AddStaticPickup(1240, 2, -2449.6917,1612.2974,9.1973);///
  99.    AddStaticPickup(1240, 2, -2429.9229,1602.1929,32.3095);///
  100.    AddStaticPickup(1240, 2, -2435.9954,1605.1603,16.2314);///
  101.    AddStaticPickup(1240, 2, -2432.7117,1650.8850,32.3095);///
  102.    AddStaticPickup(1240, 2, -2432.5742,1728.9130,32.3095);///
  103.    AddStaticPickup(1240, 2, -2319.2344,1717.8323,19.2920);//
  104.    AddStaticPickup(1240, 2, -2314.3035,1787.7305,19.2920);//
  105.    AddStaticPickup(1240, 2, -2321.2278,1803.4341,3.3281);//
  106.    AddStaticPickup(1240, 2, -2320.6865,1907.1522,19.3192);//
  107.    AddStaticPickup(1240, 2, -2210.2124,1869.2950,19.3192);//
  108.    AddStaticPickup(1240, 2, -2117.6316,1910.3392,19.3192);//
  109.    AddStaticPickup(1240, 2, -2119.2976,1833.4503,19.3192);//
  110.    AddStaticPickup(1240, 2, -2115.8286,1717.7147,19.2920);//
  111.    AddStaticPickup(1240, 2, -2234.4136,1755.6688,19.2920);//
  112.    AddStaticPickup(1240, 2, -2232.4956,1813.3058,3.2953);//
  113.    AddStaticPickup(1240, 2, -2218.8967,1809.2437,51.3734);//
  114.    AddStaticPickup(1240, 2, -2167.5691,1860.9235,51.3734);//
  115.    AddStaticPickup(1240, 2, -2162.1257,1776.8387,51.3734);//
  116.    AddStaticPickup(1240, 2, -2175.4075,1813.2355,35.2953);//
  117.    
  118.    //Armour
  119.    AddStaticPickup(1242, 2, -2474.8381,1545.7266,33.2273);
  120.    AddStaticPickup(1242, 2, -2373.4836,1547.9111,2.1172);
  121.    AddStaticPickup(1242, 2, -2453.7458,1554.4968,28.9531);
  122.    AddStaticPickup(1242, 2, -2432.3955,1542.6688,31.8594);
  123.    AddStaticPickup(1242, 2, -2392.4934,1533.7300,31.8594);
  124.    AddStaticPickup(1242, 2, -2328.3420,1544.3137,17.3281);
  125.    AddStaticPickup(1242, 2, -2416.9436,1541.5107,10.8281);
  126.    AddStaticPickup(1242, 2, -2457.5901,1532.0598,45.0245);
  127.    AddStaticPickup(1242, 2, -2419.6023,1548.4219,47.9375);
  128.    AddStaticPickup(1242, 2, -2383.9316,1547.0679,47.9315);
  129.    AddStaticPickup(1242, 2, -2334.2900,1555.4338,33.4063);
  130.    AddStaticPickup(1242, 2, -2361.8521,1598.9065,9.4613);//
  131.    AddStaticPickup(1242, 2, -2370.8018,1587.4205,16.5039);//
  132.    AddStaticPickup(1242, 2, -2372.0066,1582.3336,32.5820);//
  133.    AddStaticPickup(1242, 2, -2323.6116,1582.7125,32.5820);//
  134.    AddStaticPickup(1242, 2, -2275.0583,1591.5530,16.5039);//
  135.    AddStaticPickup(1242, 2, -2239.5591,1582.6133,32.5820);//
  136.    AddStaticPickup(1242, 2, -2546.8694,1501.6185,16.9075);//
  137.    AddStaticPickup(1242, 2, -2460.6055,1519.2983,16.8149);//
  138.    AddStaticPickup(1242, 2, -2168.6313,1474.5159,17.0706);//
  139.    AddStaticPickup(1242, 2, -2109.1575,1521.3994,33.1487);//
  140.    AddStaticPickup(1242, 2, -2170.5923,1477.9156,33.1487);//
  141.    AddStaticPickup(1242, 2, -2265.1074,1524.3424,33.0140);//
  142.    AddStaticPickup(1242, 2, -2339.0588,1478.0045,33.0194);//
  143.    AddStaticPickup(1242, 2, -2436.2734,1524.4265,32.9639);//
  144.    AddStaticPickup(1242, 2, -2474.6316,1477.8701,32.9857);//
  145.    AddStaticPickup(1242, 2, -2526.1963,1522.8912,32.9784);//
  146.    AddStaticPickup(1242, 2, -2447.1707,1612.2201,9.1973);///
  147.    AddStaticPickup(1242, 2, -2433.1611,1605.4850,32.3095);///
  148.    AddStaticPickup(1242, 2, -2435.8218,1603.0841,16.2314);///
  149.    AddStaticPickup(1242, 2, -2429.1016,1654.3448,32.3095);///
  150.    AddStaticPickup(1242, 2, -2429.5640,1731.7611,32.3095);///
  151.    AddStaticPickup(1242, 2, -2315.9551,1721.0282,19.2920);//
  152.    AddStaticPickup(1242, 2, -2311.3713,1790.7936,19.2920);//
  153.    AddStaticPickup(1242, 2, -2321.4153,1815.5701,3.3281);//
  154.    AddStaticPickup(1242, 2, -2317.6091,1910.0662,19.3192);//
  155.    AddStaticPickup(1242, 2, -2213.3796,1872.2703,19.3192);//
  156.    AddStaticPickup(1242, 2, -2114.4338,1907.3334,19.3192);//
  157.    AddStaticPickup(1242, 2, -2116.3052,1836.4061,19.3192);//
  158.    AddStaticPickup(1242, 2, -2118.9399,1720.6821,19.2920);//
  159.    AddStaticPickup(1242, 2, -2231.4177,1752.7092,19.2920);//
  160.    AddStaticPickup(1242, 2, -2236.0198,1813.4061,3.2953);//
  161.    AddStaticPickup(1242, 2, -2215.9958,1812.1993,51.3734);//
  162.    AddStaticPickup(1242, 2, -2170.8665,1857.7905,51.3734);//
  163.    AddStaticPickup(1242, 2, -2165.1284,1779.8317,51.3734);//
  164.    AddStaticPickup(1242, 2, -2178.7000,1813.3262,35.2953);//
  165.  
  166. AddStaticVehicleEx(425,-2191.93554688,1586.78222656,17.35489464,45.00000000,-1,-1,15); //Hunter
  167. AddStaticVehicleEx(425,-2221.24487305,1586.60815430,17.35489464,45.00000000,-1,-1,15); //Hunter
  168. AddStaticVehicleEx(425,-2315.67944336,1545.27746582,19.62443733,90.00000000,-1,-1,15); //Hunter
  169. AddStaticVehicleEx(425,-2349.51562500,1538.64392090,26.89787483,0.00000000,3,-1,15); //Hunter
  170. AddStaticVehicleEx(447,-2411.35913086,1538.68481445,31.95937538,270.00000000,-1,-1,15); //Seasparrow
  171. AddStaticVehicleEx(447,-2455.77661133,1559.05407715,29.05312538,270.00000000,-1,-1,15); //Seasparrow
  172. AddStaticVehicleEx(447,-2262.01660156,1566.92639160,0.00000000,90.00000000,-1,-1,15); //Seasparrow
  173. AddStaticVehicleEx(447,-2476.93579102,1569.05187988,0.00000000,90.00000000,-1,-1,15); //Seasparrow
  174. AddStaticVehicleEx(447,-2422.95800781,1521.04736328,17.00753212,90.00000000,-1,-1,15); //Seasparrow
  175. AddStaticVehicleEx(447,-2365.37890625,1614.24047852,0.00000000,90.00000000,-1,-1,15); //Seasparrow
  176. AddStaticVehicleEx(520,-2339.27661133,1587.47961426,10.38091755,0.00000000,-1,-1,15); //Hydra
  177. AddStaticVehicleEx(520,-2352.00341797,1589.48522949,10.38091755,315.00000000,-1,-1,15); //Hydra
  178. AddStaticVehicleEx(520,-2326.52465820,1589.83532715,10.38091755,45.00000000,-1,-1,15); //Hydra
  179. AddStaticVehicleEx(520,-2385.76904297,1588.58190918,10.40584373,270.00000000,-1,-1,15); //Hydra
  180. AddStaticVehicleEx(520,-2333.66748047,1585.52844238,17.41853523,0.00000000,-1,-1,15); //Hydra
  181. AddStaticVehicleEx(520,-2346.07666016,1585.28466797,17.41853523,0.00000000,-1,-1,15); //Hydra
  182. AddStaticVehicleEx(520,-2358.22949219,1585.14453125,17.42346954,0.00000000,-1,-1,15); //Hydra
  183. AddStaticVehicleEx(520,-2550.82470703,1476.81347656,17.82710648,270.00000000,-1,-1,15); //Hydra
  184. AddStaticVehicleEx(430,-2402.10839844,1590.45739746,0.00000000,0.00000000,-1,-1,15); //Predator
  185. AddStaticVehicleEx(430,-2294.81640625,1532.73315430,0.00000000,270.00000000,-1,-1,15); //Predator
  186. AddStaticVehicleEx(430,-2304.74633789,1572.98059082,0.00000000,90.00000000,-1,-1,15); //Predator
  187. AddStaticVehicleEx(430,-2288.81030273,1611.26867676,0.00000000,90.00000000,-1,-1,15); //Predator
  188. AddStaticVehicleEx(430,-2440.06713867,1565.47802734,0.00000000,90.00000000,-1,-1,15); //Predator
  189. AddStaticVehicleEx(430,-2558.21972656,1532.06860352,0.00000000,90.00000000,-1,-1,15); //Predator
  190. AddStaticVehicleEx(430,-2105.55273438,1531.99890137,0.00000000,270.00000000,-1,-1,15); //Predator
  191. AddStaticVehicleEx(430,-2105.32617188,1464.90930176,0.00000000,270.00000000,-1,-1,15); //Predator
  192. AddStaticVehicleEx(430,-2373.48168945,1465.40246582,0.00000000,270.00000000,-1,-1,15); //Predator
  193. AddStaticVehicleEx(430,-2557.79785156,1464.99548340,0.00000000,270.00000000,-1,-1,15); //Predator
  194. AddStaticVehicleEx(520,-2534.12231445,1477.34887695,17.82710648,270.00000000,-1,-1,15); //Hydra
  195. AddStaticVehicleEx(520,-2502.96728516,1474.89819336,17.82710648,0.00000000,-1,-1,15); //Hydra
  196. AddStaticVehicleEx(520,-2489.77954102,1475.07092285,17.82710648,0.00000000,-1,-1,15); //Hydra
  197. AddStaticVehicleEx(425,-2111.65869141,1482.59130859,17.92157173,0.00000000,-1,-1,15); //Hunter
  198. AddStaticVehicleEx(425,-2131.37988281,1481.92468262,17.91432953,0.00000000,-1,-1,15); //Hunter
  199. AddStaticVehicleEx(425,-2152.14208984,1482.50634766,17.91432953,0.00000000,-1,-1,15); //Hunter
  200. AddStaticVehicleEx(476,-2123.85839844,1519.83178711,18.24072456,180.00000000,-1,-1,15); //Rustler
  201. AddStaticVehicleEx(476,-2141.85620117,1519.73522949,18.24072456,180.00000000,-1,-1,15); //Rustler
  202. AddStaticVehicleEx(476,-2161.09570312,1519.46472168,18.24072456,180.00000000,-1,-1,15); //Rustler
  203. AddStaticVehicleEx(447,-2254.35424805,1461.49169922,0.00000000,90.00000000,-1,-1,15); //Seasparrow
  204. AddStaticVehicleEx(447,-2156.80957031,1538.22790527,0.00000000,90.00000000,-1,-1,15); //Seasparrow
  205. AddStaticVehicleEx(425,-2509.83837891,1516.72778320,17.75128937,180.00000000,-1,-1,15); //Hunter
  206. AddStaticVehicleEx(425,-2493.94433594,1517.01782227,17.75128937,180.00000000,-1,-1,15); //Hunter
  207. AddStaticVehicleEx(447,-2472.31542969,1462.14392090,0.00000000,90.00000000,-1,-1,15); //Seasparrow
  208. AddStaticVehicleEx(425,-2359.95898438,1600.29699707,17.34996033,270.00000000,-1,-1,15); //Hunter
  209. AddStaticVehicleEx(470,-2537.37011719,1488.02734375,17.01754379,180.00000000,-1,-1,15); //Patriot
  210. AddStaticVehicleEx(470,-2542.01269531,1487.88134766,17.01754379,180.00000000,-1,-1,15); //Patriot
  211. AddStaticVehicleEx(470,-2539.52783203,1509.31994629,17.01754379,0.00000000,-1,-1,15); //Patriot
  212. AddStaticVehicleEx(470,-2535.45849609,1509.22387695,17.01754379,0.00000000,-1,-1,15); //Patriot
  213. AddStaticVehicleEx(470,-2543.50561523,1509.34008789,17.01754379,0.00000000,-1,-1,15); //Patriot
  214. AddStaticVehicleEx(468,-2546.98242188,1487.03149414,16.66753197,0.00000000,-1,-1,15); //Sanchez
  215. AddStaticVehicleEx(468,-2550.68725586,1486.88403320,16.66753197,0.00000000,-1,-1,15); //Sanchez
  216. AddStaticVehicleEx(468,-2554.51586914,1487.14794922,16.66753197,0.00000000,-1,-1,15); //Sanchez
  217. AddStaticVehicleEx(468,-2443.43652344,1517.90625000,16.36566544,180.00000000,-1,-1,15); //Sanchez
  218. AddStaticVehicleEx(468,-2441.61718750,1517.83886719,16.35553360,180.00000000,-1,-1,15); //Sanchez
  219. AddStaticVehicleEx(447,-2571.56933594,1492.16784668,0.00000000,0.00000000,-1,-1,15); //Seasparrow
  220. AddStaticVehicleEx(520,-2435.75000000,1587.51269531,10.13414669,0.00000000,-1,-1,15); //Hydra
  221. AddStaticVehicleEx(425,-2445.97387695,1611.88684082,17.07745743,180.00000000,-1,-1,15); //Hunter
  222. AddStaticVehicleEx(520,-2432.53320312,1642.20324707,17.14603233,90.00000000,-1,-1,15); //Hydra
  223. AddStaticVehicleEx(520,-2432.35815430,1631.15026855,17.15096664,90.00000000,-1,-1,15); //Hydra
  224. AddStaticVehicleEx(520,-2432.40917969,1619.75683594,17.15096664,90.00000000,-1,-1,15); //Hydra
  225. AddStaticVehicleEx(520,-2436.43530273,1634.11254883,10.11690140,90.00000000,-1,-1,15); //Hydra
  226. AddStaticVehicleEx(520,-2436.88183594,1644.87622070,10.11690140,134.99987793,-1,-1,15); //Hydra
  227. AddStaticVehicleEx(520,-2439.34057617,1622.98547363,10.11690140,45.00000000,-1,-1,15); //Hydra
  228. AddStaticVehicleEx(425,-2429.73876953,1777.08618164,17.08239174,0.00000000,-1,-1,15); //Hunter
  229. AddStaticVehicleEx(425,-2429.30053711,1755.07580566,17.08239174,0.00000000,-1,-1,15); //Hunter
  230. AddStaticVehicleEx(476,-2445.59057617,1670.45764160,17.40154457,0.00000000,-1,-1,15); //Rustler
  231. AddStaticVehicleEx(476,-2445.47119141,1700.67053223,17.40154457,0.00000000,-1,-1,15); //Rustler
  232. AddStaticVehicleEx(447,-2462.47119141,1734.74206543,0.00000000,0.00000000,-1,-1,15); //Seasparrow
  233. AddStaticVehicleEx(447,-2413.20703125,1719.08593750,0.00000000,0.00000000,-1,-1,15); //Seasparrow
  234. AddStaticVehicleEx(430,-2418.61621094,1696.49938965,0.00000000,0.00000000,-1,-1,15); //Predator
  235. AddStaticVehicleEx(430,-2457.45605469,1653.18029785,0.00000000,0.00000000,-1,-1,15); //Predator
  236. AddStaticVehicleEx(425,-2163.68237305,1839.84851074,36.14631271,90.00000000,-1,-1,15); //Hunter
  237. AddStaticVehicleEx(425,-2163.38085938,1820.39257812,36.14631271,90.00000000,-1,-1,15); //Hunter
  238. AddStaticVehicleEx(432,-2154.71069336,1786.70141602,35.39464951,90.00000000,-1,-1,15); //Rhino
  239. AddStaticVehicleEx(432,-2154.77465820,1793.64489746,35.39464951,90.00000000,-1,-1,15); //Rhino
  240. AddStaticVehicleEx(432,-2154.74975586,1800.23742676,35.39464951,90.00000000,-1,-1,15); //Rhino
  241. AddStaticVehicleEx(432,-2154.84887695,1806.89575195,35.39464951,90.00000000,-1,-1,15); //Rhino
  242. AddStaticVehicleEx(520,-2128.98193359,1922.91259766,4.16066837,90.00000000,-1,-1,15); //Hydra
  243. AddStaticVehicleEx(520,-2128.94189453,1938.40478516,4.16066837,90.00000000,-1,-1,15); //Hydra
  244. AddStaticVehicleEx(520,-2305.11328125,1701.90576172,4.13347244,270.00000000,-1,-1,15); //Hydra
  245. AddStaticVehicleEx(520,-2305.67285156,1686.59985352,4.13347244,270.00000000,-1,-1,15); //Hydra
  246. AddStaticVehicleEx(425,-2330.39306641,1808.89514160,4.17912531,270.00000000,1,1,15); //Hunter
  247. AddStaticVehicleEx(432,-2250.52905273,1837.06140137,3.39464998,180.00000000,-1,-1,15); //Rhino
  248. AddStaticVehicleEx(432,-2260.59008789,1837.13476562,3.39464998,180.00000000,-1,-1,15); //Rhino
  249. AddStaticVehicleEx(432,-2239.71166992,1837.20336914,3.39464998,180.00000000,-1,-1,15); //Rhino
  250. AddStaticVehicleEx(432,-2228.91845703,1837.01696777,3.39464998,180.00000000,-1,-1,15); //Rhino
  251. AddStaticVehicleEx(432,-2218.27392578,1836.71325684,3.39464998,180.00000000,-1,-1,15); //Rhino
  252. AddStaticVehicleEx(432,-2207.62915039,1836.40966797,3.39464998,180.00000000,-1,-1,15); //Rhino
  253. AddStaticVehicleEx(432,-2197.10009766,1836.93591309,3.39464998,180.00000000,-1,-1,15); //Rhino
  254. AddStaticVehicleEx(432,-2175.24658203,1836.79675293,3.39464998,180.00000000,-1,-1,15); //Rhino
  255. AddStaticVehicleEx(432,-2186.16381836,1836.34460449,3.39464998,180.00000000,-1,-1,15); //Rhino
  256. AddStaticVehicleEx(432,-2319.48999023,1782.96020508,3.31323385,270.00000000,36,1,15); //Rhino
  257. AddStaticVehicleEx(432,-2319.61352539,1767.72888184,3.31323385,270.00000000,36,1,15); //Rhino
  258. AddStaticVehicleEx(432,-2319.30615234,1775.57470703,3.31323385,270.00000000,36,1,15); //Rhino
  259. AddStaticVehicleEx(432,-2319.87768555,1760.92187500,3.31323385,270.00000000,36,1,15); //Rhino
  260.  
  261. CreateObject(3279,-2418.29956055,1549.84167480,30.85937500,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(1)
  262. CreateObject(3279,-2382.68920898,1548.74255371,30.85333443,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(2)
  263. CreateObject(3279,-2332.81152344,1557.20898438,16.32812500,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(3)
  264. CreateObject(3279,-2456.22045898,1533.44433594,27.94637680,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(4)
  265. CreateObject(16782,-2478.81811523,1548.97985840,34.34358978,0.00000000,0.00000000,0.00000000); //object(a51_radar_scan)(1)
  266. CreateObject(2985,-2469.79418945,1546.16577148,35.80468750,0.00000000,0.00000000,0.00000000); //object(minigun_base)(1)
  267. CreateObject(11480,-2395.95971680,1550.60900879,33.05308533,0.00000000,0.00000000,0.00000000); //object(des_nwt_carport)(1)
  268. CreateObject(2567,-2421.36206055,1541.96179199,11.75572586,0.00000000,0.00000000,0.00000000); //object(ab_warehouseshelf)(1)
  269. CreateObject(2567,-2396.95874023,1532.21960449,32.78697586,0.00000000,0.00000000,0.00000000); //object(ab_warehouseshelf)(2)
  270. CreateObject(3800,-2400.16552734,1542.89721680,25.04687500,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(1)
  271. CreateObject(3800,-2400.17358398,1541.79663086,25.04687500,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(2)
  272. CreateObject(3800,-2400.14672852,1543.91381836,25.04687500,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(3)
  273. CreateObject(3800,-2400.12695312,1544.96643066,25.04687500,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(4)
  274. CreateObject(3800,-2400.10644531,1544.92492676,26.13059425,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(5)
  275. CreateObject(3800,-2400.05053711,1544.94458008,27.21431351,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(6)
  276. CreateObject(3800,-2400.10253906,1543.80664062,26.13059425,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(7)
  277. CreateObject(3800,-2400.05957031,1543.85229492,27.21431351,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(8)
  278. CreateObject(3800,-2400.10742188,1542.85034180,26.13059425,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(9)
  279. CreateObject(3800,-2401.24780273,1542.89440918,25.04687500,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(10)
  280. CreateObject(3800,-2401.24658203,1541.79760742,25.04687500,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(11)
  281. CreateObject(3800,-2401.27978516,1543.94506836,25.04687500,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(12)
  282. CreateObject(3800,-2401.22583008,1543.91674805,26.13059425,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(13)
  283. CreateObject(3800,-2401.17016602,1543.90954590,27.21431351,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(14)
  284. CreateObject(3800,-2401.27734375,1545.02319336,25.04687500,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(15)
  285. CreateObject(3800,-2401.26562500,1545.01855469,26.13059425,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(16)
  286. CreateObject(3800,-2401.18334961,1544.93896484,27.21431351,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(17)
  287. CreateObject(3800,-2401.18750000,1542.85400391,26.13059425,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(18)
  288. CreateObject(2985,-2469.74951172,1543.60278320,35.80468750,0.00000000,0.00000000,0.00000000); //object(minigun_base)(2)
  289. CreateObject(971,-2480.64990234,1538.17297363,35.61679077,0.00000000,0.00000000,0.00000000); //object(subwaygate)(2)
  290. CreateObject(971,-2485.85058594,1538.36962891,35.61679077,0.00000000,0.00000000,0.00000000); //object(subwaygate)(3)
  291. CreateObject(971,-2490.60766602,1538.17297363,35.65576935,0.00000000,0.00000000,0.00000000); //object(subwaygate)(4)
  292. CreateObject(971,-2480.79296875,1552.00000000,35.89022827,0.00000000,0.00000000,0.00000000); //object(subwaygate)(5)
  293. CreateObject(971,-2486.59423828,1552.00000000,35.89022827,0.00000000,0.00000000,0.00000000); //object(subwaygate)(6)
  294. CreateObject(971,-2490.39550781,1552.18334961,36.07022095,0.00000000,0.00000000,0.00000000); //object(subwaygate)(7)
  295. CreateObject(971,-2494.91406250,1547.78747559,35.89022827,0.00000000,0.00000000,90.00000000); //object(subwaygate)(8)
  296. CreateObject(971,-2495.09741211,1542.62854004,35.95688629,0.00000000,0.00000000,90.00000000); //object(subwaygate)(9)
  297. CreateObject(974,-2472.50610352,1534.16772461,37.66250610,0.00000000,0.00000000,0.00000000); //object(tall_fence)(1)
  298. CreateObject(974,-2472.03051758,1534.16748047,37.69989395,0.00000000,0.00000000,0.00000000); //object(tall_fence)(2)
  299. CreateObject(971,-2481.27026367,1541.75061035,40.64022827,90.00000000,0.00000000,0.00000000); //object(subwaygate)(11)
  300. CreateObject(971,-2481.25073242,1548.41088867,40.62009430,90.00000000,0.00000000,0.00000000); //object(subwaygate)(12)
  301. CreateObject(971,-2490.07861328,1548.79614258,43.89022827,90.00000000,0.00000000,0.00000000); //object(subwaygate)(13)
  302. CreateObject(971,-2490.07812500,1541.61462402,43.89022827,90.00000000,0.00000000,0.00000000); //object(subwaygate)(14)
  303. CreateObject(971,-2480.82153320,1552.18334961,37.13524628,0.00000000,0.00000000,0.00000000); //object(subwaygate)(15)
  304. CreateObject(971,-2490.13793945,1552.36669922,40.37885284,0.00000000,0.00000000,0.00000000); //object(subwaygate)(16)
  305. CreateObject(971,-2480.73901367,1537.97631836,37.03866196,0.00000000,0.00000000,0.00000000); //object(subwaygate)(17)
  306. CreateObject(971,-2490.05322266,1537.97631836,40.21964264,0.00000000,0.00000000,0.00000000); //object(subwaygate)(18)
  307. CreateObject(971,-2490.80712891,1537.77966309,40.33043671,0.00000000,0.00000000,0.00000000); //object(subwaygate)(19)
  308. CreateObject(971,-2490.42553711,1552.36669922,40.29224396,0.00000000,0.00000000,0.00000000); //object(subwaygate)(20)
  309. CreateObject(971,-2490.83007812,1541.58203125,43.89022827,90.00000000,0.00000000,0.00000000); //object(subwaygate)(21)
  310. CreateObject(971,-2490.74291992,1548.78833008,43.89022827,90.00000000,0.00000000,0.00000000); //object(subwaygate)(22)
  311. CreateObject(971,-2495.15771484,1548.05981445,40.20707703,0.00000000,0.00000000,90.00000000); //object(subwaygate)(23)
  312. CreateObject(971,-2495.28076172,1542.46179199,40.31693268,0.00000000,0.00000000,90.00000000); //object(subwaygate)(24)
  313. CreateObject(991,-2485.49584961,1541.33923340,42.03884125,0.00000000,0.00000000,90.00000000); //object(bar_barriergate1)(5)
  314. CreateObject(991,-2485.49316406,1547.94714355,42.01870728,0.00000000,0.00000000,90.00000000); //object(bar_barriergate1)(6)
  315. CreateObject(991,-2485.47094727,1548.99316406,42.01870728,0.00000000,0.00000000,90.00000000); //object(bar_barriergate1)(7)
  316. CreateObject(991,-2485.50366211,1541.34338379,42.72159576,0.00000000,0.00000000,90.00000000); //object(bar_barriergate1)(8)
  317. CreateObject(991,-2485.47875977,1547.93090820,42.74682236,0.00000000,0.00000000,90.00000000); //object(bar_barriergate1)(9)
  318. CreateObject(991,-2485.47875977,1549.03808594,42.76883316,0.00000000,0.00000000,90.00000000); //object(bar_barriergate1)(10)
  319. CreateObject(971,-2473.16723633,1541.83813477,40.37460327,90.00000000,0.00000000,0.00000000); //object(subwaygate)(25)
  320. CreateObject(971,-2472.26904297,1538.53540039,40.37460327,90.00000000,0.00000000,90.00000000); //object(subwaygate)(27)
  321. CreateObject(971,-2472.31640625,1551.35656738,40.37460327,90.00000000,0.00000000,90.00000000); //object(subwaygate)(28)
  322. CreateObject(971,-2472.86328125,1544.30175781,40.37460327,90.00000000,0.00000000,0.00000000); //object(subwaygate)(29)
  323. CreateObject(991,-2472.13720703,1555.72656250,37.28555298,0.00000000,0.00000000,0.00000000); //object(bar_barriergate1)(11)
  324. CreateObject(991,-2472.14843750,1555.73437500,38.47649384,0.00000000,0.00000000,0.00000000); //object(bar_barriergate1)(12)
  325. CreateObject(991,-2472.17260742,1555.74218750,39.21010590,0.00000000,0.00000000,0.00000000); //object(bar_barriergate1)(13)
  326. CreateObject(991,-2472.91333008,1555.73437500,37.24571991,0.00000000,0.00000000,0.00000000); //object(bar_barriergate1)(14)
  327. CreateObject(991,-2472.89233398,1555.75000000,39.20190430,0.00000000,0.00000000,0.00000000); //object(bar_barriergate1)(15)
  328. CreateObject(2755,-2476.33593750,1535.98901367,37.80179214,0.00000000,0.00000000,90.00000000); //object(dojo_wall)(1)
  329. CreateObject(2755,-2476.33593750,1553.94689941,37.80179214,0.00000000,0.00000000,90.00000000); //object(dojo_wall)(2)
  330. CreateObject(1723,-2475.07153320,1554.92517090,35.80468750,0.00000000,0.00000000,0.00000000); //object(mrk_seating1)(1)
  331. CreateObject(1723,-2471.84497070,1555.03979492,35.80468750,0.00000000,0.00000000,0.00000000); //object(mrk_seating1)(2)
  332. CreateObject(1724,-2480.12890625,1550.05419922,35.80468750,0.00000000,0.00000000,45.00000000); //object(mrk_seating1b)(1)
  333. CreateObject(1724,-2478.02929688,1551.02770996,35.80468750,0.00000000,0.00000000,0.00000000); //object(mrk_seating1b)(2)
  334. CreateObject(1723,-2471.41870117,1550.71313477,35.80468750,0.00000000,0.00000000,180.00000000); //object(mrk_seating1)(3)
  335. CreateObject(2964,-2477.62890625,1547.44323730,35.79921722,0.00000000,0.00000000,0.00000000); //object(k_pooltablesm)(1)
  336. CreateObject(3004,-2478.29687500,1546.93542480,36.72097397,0.00000000,0.00000000,0.00000000); //object(k_poolq2)(1)
  337. CreateObject(2997,-2477.17724609,1547.46691895,36.72916794,0.00000000,0.00000000,0.00000000); //object(k_poolballstp03)(1)
  338. CreateObject(3002,-2477.97167969,1547.11267090,36.72916794,0.00000000,0.00000000,0.00000000); //object(k_poolballspt01)(1)
  339. CreateObject(3003,-2477.77929688,1547.51135254,36.72956467,0.00000000,0.00000000,0.00000000); //object(k_poolballcue)(1)
  340. CreateObject(3000,-2476.80688477,1547.03320312,36.72916794,0.00000000,0.00000000,0.00000000); //object(k_poolballstp06)(1)
  341. CreateObject(2998,-2476.99755859,1547.86193848,36.72916794,0.00000000,0.00000000,0.00000000); //object(k_poolballstp04)(2)
  342. CreateObject(3101,-2478.20385742,1547.86547852,36.72916794,0.00000000,0.00000000,0.00000000); //object(k_poolballspt03)(1)
  343. CreateObject(1815,-2476.02441406,1551.80334473,35.96617126,0.00000000,0.00000000,0.00000000); //object(coffee_low_2)(1)
  344. CreateObject(1791,-2475.39013672,1552.34008789,36.51347733,0.00000000,0.00000000,45.00000000); //object(swank_tv_2)(1)
  345. CreateObject(1814,-2472.85083008,1552.69812012,35.80468750,0.00000000,0.00000000,0.00000000); //object(coffee_med_1)(1)
  346. CreateObject(1805,-2476.56884766,1545.16589355,36.04829788,0.00000000,0.00000000,0.00000000); //object(cj_barstool)(1)
  347. CreateObject(2628,-2476.59252930,1543.30175781,35.80468750,0.00000000,0.00000000,0.00000000); //object(gym_bench2)(1)
  348. CreateObject(1584,-2470.57104492,1555.73437500,38.03903580,0.00000000,0.00000000,0.00000000); //object(tar_gun1)(1)
  349. CreateObject(1583,-2474.26831055,1555.73437500,38.03074646,0.00000000,0.00000000,0.00000000); //object(tar_gun2)(1)
  350. CreateObject(14791,-2472.61010742,1538.00634766,37.84974670,0.00000000,0.00000000,0.00000000); //object(a_vgsgymboxa)(1)
  351. CreateObject(2780,-2489.49169922,1548.13195801,39.32031250,0.00000000,0.00000000,0.00000000); //object(cj_smoke_mach)(1)
  352. CreateObject(2780,-2489.40625000,1541.58203125,39.32031250,0.00000000,0.00000000,0.00000000); //object(cj_smoke_mach)(2)
  353. CreateObject(1723,-2477.58715820,1539.09643555,35.80468750,0.00000000,0.00000000,180.00000000); //object(mrk_seating1)(4)
  354. CreateObject(2001,-2480.70092773,1539.40600586,35.80468750,0.00000000,0.00000000,0.00000000); //object(nu_plant_ofc)(1)
  355. CreateObject(2001,-2479.18627930,1551.08215332,35.80468750,0.00000000,0.00000000,0.00000000); //object(nu_plant_ofc)(2)
  356. CreateObject(2001,-2475.88110352,1555.11083984,35.80468750,0.00000000,0.00000000,0.00000000); //object(nu_plant_ofc)(3)
  357. CreateObject(970,-2492.64501953,1546.44360352,31.59835625,0.00000000,0.00000000,0.00000000); //object(fencesmallb)(4)
  358. CreateObject(970,-2492.63330078,1546.51306152,32.73042297,0.00000000,0.00000000,0.00000000); //object(fencesmallb)(5)
  359. CreateObject(970,-2492.53442383,1546.56726074,33.89688873,0.00000000,0.00000000,0.00000000); //object(fencesmallb)(6)
  360. CreateObject(970,-2492.62133789,1543.36022949,31.71315384,0.00000000,0.00000000,0.00000000); //object(fencesmallb)(7)
  361. CreateObject(970,-2492.64624023,1543.30786133,32.83481598,0.00000000,0.00000000,0.00000000); //object(fencesmallb)(8)
  362. CreateObject(970,-2492.66674805,1543.25134277,33.94091415,0.00000000,0.00000000,0.00000000); //object(fencesmallb)(9)
  363. CreateObject(970,-2485.18188477,1540.46594238,32.70445633,0.00000000,0.00000000,90.00000000); //object(fencesmallb)(10)
  364. CreateObject(970,-2485.24389648,1540.39013672,33.81055450,0.00000000,0.00000000,90.00000000); //object(fencesmallb)(11)
  365. CreateObject(970,-2485.11474609,1540.48046875,31.59835625,0.00000000,0.00000000,90.00000000); //object(fencesmallb)(12)
  366. CreateObject(970,-2485.09912109,1549.66418457,31.59835625,0.00000000,0.00000000,90.00000000); //object(fencesmallb)(13)
  367. CreateObject(970,-2485.13232422,1549.65258789,32.70445633,0.00000000,0.00000000,90.00000000); //object(fencesmallb)(14)
  368. CreateObject(970,-2485.24829102,1549.61230469,33.81055450,0.00000000,0.00000000,90.00000000); //object(fencesmallb)(15)
  369. CreateObject(970,-2476.31591797,1550.20092773,40.77945328,90.00000000,0.00000000,90.00000000); //object(fencesmallb)(1)
  370. CreateObject(976,-2468.78125000,1546.77404785,36.97483063,0.00000000,0.00000000,90.00000000); //object(phils_compnd_gate)(1)
  371. CreateObject(976,-2468.78125000,1541.39233398,36.97418594,0.00000000,0.00000000,90.00000000); //object(phils_compnd_gate)(2)
  372. CreateObject(976,-2468.78125000,1534.35778809,37.05833817,0.00000000,0.00000000,90.00000000); //object(phils_compnd_gate)(3)
  373. CreateObject(10771,-2284.74511719,1591.79150391,3.71483231,0.00000000,0.00000000,0.00000000); //object(carrier_hull_sfse)(1)
  374. CreateObject(11146,-2293.75170898,1592.40002441,10.55509186,0.00000000,0.00000000,0.00000000); //object(carrier_hangar_sfs)(2)
  375. CreateObject(10770,-2281.48901367,1584.21484375,36.64426804,0.00000000,0.00000000,0.00000000); //object(carrier_bridge_sfse)(1)
  376. CreateObject(3115,-2383.75073242,1591.38244629,8.16616917,0.00000000,0.00000000,0.00000000); //object(carrier_lift1_sfse)(1)
  377. CreateObject(3113,-2392.46606445,1592.00158691,0.00000000,0.00000000,0.00000000,0.00000000); //object(carrier_door_sfse)(2)
  378. CreateObject(3114,-2341.52929688,1605.45068359,7.90440941,0.00000000,0.00000000,0.00000000); //object(carrier_lift2_sfse)(1)
  379. CreateObject(10772,-2283.18188477,1591.74963379,15.50389671,0.00000000,0.00000000,0.00000000); //object(carrier_lines_sfse)(1)
  380. CreateObject(3279,-2370.57714844,1583.93359375,15.50389576,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(2)
  381. CreateObject(3279,-2238.17626953,1584.32470703,15.50389481,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(3)
  382. CreateObject(3279,-2322.29980469,1584.37866211,15.50389481,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(4)
  383. CreateObject(2944,-2267.56420898,1589.42028809,9.95603657,0.00000000,0.00000000,0.00000000); //object(freight_sfw_door)(1)
  384. CreateObject(2944,-2273.07128906,1591.98132324,10.10237980,0.00000000,0.00000000,90.00000000); //object(freight_sfw_door)(3)
  385. CreateObject(2944,-2225.05639648,1581.90832520,9.95603657,0.00000000,0.00000000,0.00000000); //object(freight_sfw_door)(4)
  386. CreateObject(2944,-2275.58203125,1589.91320801,16.99858856,0.00000000,0.00000000,90.00000000); //object(freight_sfw_door)(5)
  387. CreateObject(2934,-2356.66650391,1601.07263184,12.81859589,0.00000000,0.00000000,0.00000000); //object(kmb_container_red)(1)
  388. CreateObject(2935,-2356.59521484,1601.13134766,9.91326141,0.00000000,0.00000000,0.00000000); //object(kmb_container_yel)(1)
  389. CreateObject(16782,-2449.88085938,1601.04199219,9.39047432,0.00000000,0.00000000,90.00000000); //object(a51_radar_scan)(3)
  390. CreateObject(3934,-2454.68603516,1558.41564941,27.95312500,0.00000000,0.00000000,0.00000000); //object(helipad01)(1)
  391. CreateObject(3934,-2412.00634766,1538.75781250,30.85937500,0.00000000,0.00000000,0.00000000); //object(helipad01)(2)
  392. CreateObject(3934,-2315.58056641,1545.36401367,17.77343750,0.00000000,0.00000000,0.00000000); //object(helipad01)(3)
  393. CreateObject(3934,-2349.49462891,1538.44982910,25.04687500,0.00000000,0.00000000,0.00000000); //object(helipad01)(4)
  394. CreateObject(10766,-2451.66894531,1498.65319824,13.56378174,0.00000000,0.00000000,90.00000000); //object(airport_10_sfse)(1)
  395. CreateObject(10766,-2212.25683594,1498.42687988,13.72682190,0.00000000,0.00000000,270.00000000); //object(airport_10_sfse)(2)
  396. CreateObject(10767,-2328.20336914,1498.69274902,0.92566681,0.00000000,0.00000000,315.00000000); //object(airport_11_sfse)(2)
  397. CreateObject(11544,-2445.03540039,1529.07019043,17.66291618,0.00000000,0.00000000,0.00000000); //object(des_ntfrescape2)(1)
  398. CreateObject(3406,-2558.34692383,1468.40441895,0.00000000,0.00000000,0.00000000,0.00000000); //object(cxref_woodjetty)(1)
  399. CreateObject(3406,-2372.29809570,1468.58557129,0.00000000,0.00000000,0.00000000,0.00000000); //object(cxref_woodjetty)(2)
  400. CreateObject(3406,-2104.20703125,1468.54174805,0.00000000,0.00000000,0.00000000,0.00000000); //object(cxref_woodjetty)(3)
  401. CreateObject(3406,-2104.40185547,1528.72888184,0.00000000,0.00000000,0.00000000,0.00000000); //object(cxref_woodjetty)(4)
  402. CreateObject(3406,-2294.35546875,1528.69958496,0.00000000,0.00000000,0.00000000,0.00000000); //object(cxref_woodjetty)(5)
  403. CreateObject(3406,-2558.43164062,1528.58288574,0.00000000,0.00000000,0.00000000,0.00000000); //object(cxref_woodjetty)(6)
  404. CreateObject(3279,-2527.70166016,1521.32495117,15.90028381,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(4)
  405. CreateObject(3279,-2437.85693359,1522.93542480,15.88578987,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(5)
  406. CreateObject(3279,-2476.07202148,1476.27587891,15.90753174,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(6)
  407. CreateObject(3279,-2340.42260742,1476.65710449,15.94129181,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(7)
  408. CreateObject(10767,-2328.20312500,1498.69238281,0.92566681,0.00000000,0.00000000,315.00000000); //object(airport_11_sfse)(3)
  409. CreateObject(3279,-2266.68359375,1522.78356934,15.93583870,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(8)
  410. CreateObject(3279,-2172.12500000,1476.39440918,16.07057190,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(9)
  411. CreateObject(3279,-2110.68872070,1519.80993652,16.07057190,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(10)
  412. CreateObject(3934,-2494.71972656,1491.71386719,15.71726894,0.00000000,0.00000000,0.00000000); //object(helipad01)(5)
  413. CreateObject(3934,-2509.83471680,1517.12927246,15.90029144,0.00000000,0.00000000,0.00000000); //object(helipad01)(6)
  414. CreateObject(3934,-2493.75463867,1517.36096191,15.90029144,0.00000000,0.00000000,0.00000000); //object(helipad01)(7)
  415. CreateObject(3934,-2423.61474609,1521.04040527,15.90752792,0.00000000,0.00000000,0.00000000); //object(helipad01)(8)
  416. CreateObject(10831,-2543.08105469,1498.41613770,20.82393646,0.00000000,0.00000000,90.00000000); //object(drydock3_sfse)(1)
  417. CreateObject(3113,-2520.22094727,1498.29943848,19.71815681,0.00000000,0.00000000,0.00000000); //object(carrier_door_sfse)(1)
  418. CreateObject(10771,-2438.81396484,1689.11694336,3.44232941,0.00000000,0.00000000,90.00000000); //object(carrier_hull_sfse)(1)
  419. CreateObject(3113,-2438.84936523,1580.76367188,0.00000000,0.00000000,0.00000000,90.00000000); //object(carrier_door_sfse)(2)
  420. CreateObject(3115,-2438.85058594,1590.31799316,7.89366627,0.00000000,0.00000000,90.00000000); //object(carrier_lift1_sfse)(1)
  421. CreateObject(3114,-2452.59985352,1632.38818359,7.64039326,0.00000000,0.00000000,90.00000000); //object(carrier_lift2_sfse)(1)
  422. CreateObject(11146,-2439.37036133,1680.11108398,10.29107571,0.00000000,0.00000000,90.00000000); //object(carrier_hangar_sfs)(1)
  423. CreateObject(2944,-2438.74926758,1702.23950195,9.89514542,0.00000000,0.00000000,0.00000000); //object(freight_sfw_door)(1)
  424. CreateObject(2944,-2436.42602539,1706.35095215,9.86343288,0.00000000,0.00000000,90.00000000); //object(freight_sfw_door)(2)
  425. CreateObject(2944,-2428.77783203,1749.55847168,9.69202042,0.00000000,0.00000000,90.00000000); //object(freight_sfw_door)(3)
  426. CreateObject(10770,-2431.33764648,1692.23046875,36.67481232,0.00000000,0.00000000,90.00000000); //object(carrier_bridge_sfse)(1)
  427. CreateObject(3279,-2431.68823242,1603.58471680,15.23139191,0.00000000,0.00000000,90.00000000); //object(a51_spottower)(2)
  428. CreateObject(3279,-2430.91723633,1652.68933105,15.23139191,0.00000000,0.00000000,90.00000000); //object(a51_spottower)(2)
  429. CreateObject(3279,-2431.02026367,1730.57482910,15.23139191,0.00000000,0.00000000,90.00000000); //object(a51_spottower)(2)
  430. CreateObject(3934,-2446.01196289,1611.69055176,15.22645950,0.00000000,0.00000000,0.00000000); //object(helipad01)(9)
  431. CreateObject(14416,-2446.10351562,1592.13708496,8.20180035,0.00000000,0.00000000,0.00000000); //object(carter-stairs07)(1)
  432. CreateObject(14416,-2446.08227539,1597.63061523,11.39711285,0.00000000,0.00000000,0.00000000); //object(carter-stairs07)(2)
  433. CreateObject(14416,-2382.21289062,1598.56762695,8.47498989,0.00000000,0.00000000,270.00000000); //object(carter-stairs07)(3)
  434. CreateObject(14416,-2376.61621094,1598.57080078,11.67360783,0.00000000,0.00000000,269.99450684); //object(carter-stairs07)(4)
  435. CreateObject(2944,-2436.94702148,1699.63220215,16.72608566,0.00000000,0.00000000,0.00000000); //object(freight_sfw_door)(4)
  436. CreateObject(2935,-2448.13500977,1619.59436035,9.64924526,0.00000000,0.00000000,90.00000000); //object(kmb_container_yel)(2)
  437. CreateObject(2934,-2448.12011719,1619.56787109,12.55457973,0.00000000,0.00000000,90.00000000); //object(kmb_container_red)(1)
  438. CreateObject(16782,-2372.93188477,1602.97839355,9.65449142,0.00000000,0.00000000,0.00000000); //object(a51_radar_scan)(3)
  439. CreateObject(6976,-2473.34960938,1644.14355469,0.00000000,0.00000000,0.00000000,0.00000000); //object(shamheliprt04)(1)
  440. CreateObject(6976,-2329.49316406,1625.54943848,0.00000000,0.00000000,0.00000000,270.00000000); //object(shamheliprt04)(2)
  441. CreateObject(3934,-2430.45898438,1777.56372070,15.23139191,0.00000000,0.00000000,0.00000000); //object(helipad01)(10)
  442. CreateObject(3934,-2430.65087891,1755.67395020,15.23139191,0.00000000,0.00000000,0.00000000); //object(helipad01)(11)
  443. CreateObject(9241,-2329.90063477,1809.36755371,1.50000000,0.00000000,0.00000000,1.00000000); //object(copbits_sfn)(1)
  444. CreateObject(5002,-2217.40112305,1750.50231934,2.21389699,0.00000000,0.00000000,0.00000000); //object(lasrnway4_las)(1)
  445. CreateObject(9958,-2104.71826172,1850.13378906,6.17558289,0.00000000,0.00000000,0.00000000); //object(submarr_sfe)(1)
  446. CreateObject(5002,-2217.12304688,1874.37500000,2.24109268,0.00000000,0.00000000,179.99450684); //object(lasrnway4_las)(2)
  447. CreateObject(5442,-2323.53686523,1765.29138184,-7.80000019,270.00000000,0.00000000,90.00000000); //object(laeroad13)(1)
  448. CreateObject(5442,-2323.43334961,1705.59033203,-7.80000019,269.99450684,0.00000000,90.00000000); //object(laeroad13)(2)
  449. CreateObject(5442,-2323.56933594,1825.20581055,-7.80000019,269.99450684,0.00000000,90.00000000); //object(laeroad13)(3)
  450. CreateObject(5442,-2323.54467773,1884.80065918,-7.80000019,269.99450684,0.00000000,90.00000000); //object(laeroad13)(4)
  451. CreateObject(5442,-2323.35888672,1919.34375000,-7.80000162,269.99450684,0.00000000,90.00000000); //object(laeroad13)(5)
  452. CreateObject(5441,-2263.25634766,1949.25488281,-7.80000019,270.00000000,0.00000000,0.00000000); //object(laeroad12)(2)
  453. CreateObject(5441,-2170.47045898,1949.28027344,-7.80000019,269.99450684,0.00000000,0.00000000); //object(laeroad12)(3)
  454. CreateObject(5441,-2110.74560547,1889.12939453,-7.70000029,269.99450684,0.00000000,270.00000000); //object(laeroad12)(4)
  455. CreateObject(5441,-2110.69238281,1769.30236816,-7.69999981,269.98901367,0.00000000,269.99450684); //object(laeroad12)(5)
  456. CreateObject(5442,-2110.97753906,1705.49133301,-7.79999971,269.99450684,0.00000000,270.00000000); //object(laeroad13)(6)
  457. CreateObject(5441,-2171.14135742,1675.61779785,-7.69999981,269.98901367,0.00000000,180.00000000); //object(laeroad12)(6)
  458. CreateObject(5441,-2263.91918945,1675.54187012,-7.79999971,269.98901367,0.00000000,179.99450684); //object(laeroad12)(7)
  459. CreateObject(8390,-2218.02441406,1813.46093750,21.60000038,0.00000000,0.00000000,90.00000000); //object(multicarpark01_lvs)(1)
  460. CreateObject(3269,-2271.80761719,1837.52148438,34.29531097,0.00000000,0.00000000,0.00000000); //object(bonyrd_block1_)(1)
  461. CreateObject(3270,-2225.84375000,1818.40722656,34.29531097,0.00000000,0.00000000,314.99450684); //object(bonyrd_block2_)(1)
  462. CreateObject(3271,-2122.23046875,1891.34863281,2.24109650,0.00000000,0.00000000,0.00000000); //object(bonyrd_block3_)(1)
  463. CreateObject(3269,-2309.44238281,1889.47216797,2.24109268,0.00000000,0.00000000,0.00000000); //object(bonyrd_block1_)(1)
  464. CreateObject(3270,-2169.20483398,1881.68066406,2.24109268,0.00000000,0.00000000,314.99450684); //object(bonyrd_block2_)(1)
  465. CreateObject(3271,-2256.33154297,1742.49047852,2.21390080,0.00000000,0.00000000,0.00000000); //object(bonyrd_block3_)(1)
  466. CreateObject(3269,-2308.56518555,1739.59692383,2.21390080,0.00000000,0.00000000,0.00000000); //object(bonyrd_block1_)(1)
  467. CreateObject(3270,-2126.09106445,1739.53881836,2.21389699,0.00000000,0.00000000,314.99450684); //object(bonyrd_block2_)(1)
  468. CreateObject(3269,-2195.25244141,1728.49353027,2.21389699,0.00000000,0.00000000,0.00000000); //object(bonyrd_block1_)(1)
  469. CreateObject(3269,-2247.93310547,1885.78552246,2.24109268,0.00000000,0.00000000,180.00000000); //object(bonyrd_block1_)(1)
  470. CreateObject(3271,-2306.82519531,1836.97949219,2.24109268,0.00000000,0.00000000,0.00000000); //object(bonyrd_block3_)(1)
  471. CreateObject(3271,-2127.95092773,1784.95019531,2.21389699,0.00000000,0.00000000,180.00000000); //object(bonyrd_block3_)(1)
  472. CreateObject(3270,-2180.84521484,1843.29016113,34.29531860,0.00000000,0.00000000,4.00000000); //object(bonyrd_block2_)(1)
  473. CreateObject(3934,-2164.04077148,1820.45471191,34.29531097,0.00000000,0.00000000,0.00000000); //object(helipad01)(12)
  474. CreateObject(3934,-2164.45019531,1840.09423828,34.29531097,0.00000000,0.00000000,0.00000000); //object(helipad01)(13)
  475. CreateObject(3279,-2312.74389648,1789.25854492,2.21389508,0.00000000,0.00000000,180.00000000); //object(a51_spottower)(14)
  476. CreateObject(3279,-2317.46020508,1719.79809570,2.21389699,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(15)
  477. CreateObject(3279,-2232.97265625,1754.44250488,2.21389699,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(16)
  478. CreateObject(3279,-2117.47119141,1719.02502441,2.21390080,0.00000000,0.00000000,180.00000000); //object(a51_spottower)(17)
  479. CreateObject(3279,-2117.88574219,1834.98925781,2.24109268,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(18)
  480. CreateObject(3279,-2211.82568359,1870.88769531,2.24109268,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(19)
  481. CreateObject(3279,-2115.94067383,1908.57995605,2.24109268,0.00000000,0.00000000,180.00000000); //object(a51_spottower)(20)
  482. CreateObject(3279,-2319.35302734,1908.54260254,2.24109268,0.00000000,0.00000000,90.00000000); //object(a51_spottower)(21)
  483. CreateObject(3279,-2217.52612305,1810.80529785,34.29531479,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(22)
  484. CreateObject(3279,-2169.19873047,1859.46630859,34.29531097,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(23)
  485. CreateObject(3279,-2163.79882812,1778.40747070,34.29531097,0.00000000,0.00000000,90.00000000); //object(a51_spottower)(24)
  486.  
  487.         return 1;
  488. }
  489. forward ExitTheGameMode();
  490. public ExitTheGameMode()
  491. {
  492.         return 1;
  493. }
  494. public OnPlayerConnect(playerid)
  495. {
  496.         SetPlayerColor(playerid, GREY);
  497.         new string[85],pname[24];
  498.         GetPlayerName(playerid,pname,24);
  499.         format(string,sizeof(string),"*** %s Has Joined WCSBS! (ID:%d)",pname,playerid);
  500.         SendClientMessageToAll(RED,string);
  501.         SendClientMessage(playerid, YELLOW, "Welcome To Weponz Counter-Strike Battleship Server! By Weponz");
  502.         SendClientMessage(playerid, YELLOW, "Type /rules /pc And /help Before Playing!");
  503.         GameTextForPlayer(playerid,"~w~ Welcome To Weponz Counter-Strike Battleship Server!",3000,0);
  504.  
  505.         return 1;
  506.  
  507. }
  508. public OnPlayerDisconnect(playerid, reason)
  509. {
  510.         new string[85],pname[24];
  511.         switch (reason)
  512. {
  513.     case 0:
  514.     {
  515.         GetPlayerName(playerid,pname,24);
  516.         format(string,sizeof(string), "*** %s Has Left WCSBS. (Crash) (ID:%d)",pname,playerid);
  517.         SendClientMessageToAll(RED,string);
  518.     }
  519.     case 1:
  520.     {
  521.         GetPlayerName(playerid,pname,24);
  522.         format(string,sizeof(string), "*** %s Has Left WCSBS. (Quit) (ID:%d)",pname,playerid);
  523.         SendClientMessageToAll(RED,string);
  524.     }
  525.     case 2:
  526.     {
  527.         GetPlayerName(playerid,pname,24);
  528.         format(string,sizeof(string), "*** %s Has Left WCSBS. (Kicked) (ID:%d)",pname,playerid);
  529.         SendClientMessageToAll(RED,string);
  530.  
  531. }
  532. }
  533.         return 1;
  534. }
  535. public OnPlayerSpawn(playerid)
  536. {
  537.         SetPlayerHealth(playerid,99999);
  538.         SetTimerEx("NoSpawnKill",10000,0,"i",playerid);
  539.  
  540.         GangZoneShowForAll(gangzone1,RED);
  541.         GangZoneShowForAll(gangzone2,RED);
  542.         GangZoneShowForAll(gangzone3,BLUE);
  543.         GangZoneShowForAll(gangzone4,BLUE);
  544.         GangZoneShowForAll(gangzone5,GREY);
  545.  
  546.                 SetPlayerArmour(playerid, 100);
  547.         SetPlayerHealth(playerid, 100);
  548.         SetPlayerInterior(playerid,0);
  549.         if(gTeam[playerid] == TEAM_TERRORISTS)
  550.                 {
  551.                 SetPlayerTeam(playerid, 1);
  552.         SetPlayerColor(playerid,RED);
  553.         GivePlayerMoney(playerid, 10000);
  554.         SendClientMessage(playerid, RED, "Your A Terrorist,Your Goal Is To Defend Your Ship Area And Attack The Counter Terrorists Ships!");
  555.         SendClientMessage(playerid, RED, "Type /rules Before Playing!,Use /commands For All Of Your Available Commands.");
  556.         }
  557.         else if(gTeam[playerid] == TEAM_COUNTERTERRORISTS)
  558.                 {
  559.                 SetPlayerTeam(playerid, 2);
  560.         SetPlayerColor(playerid,BLUE);
  561.         GivePlayerMoney(playerid, 10000);
  562.         SendClientMessage(playerid, BLUE, "Your A Counter Terrorist,Your Mission Is To Defend Your Ships And Liberate The Terrorists Ship Area!");
  563.         SendClientMessage(playerid, BLUE, "Type /rules Before Playing!,Use /commands For All Of Your Available Commands.");
  564.         }
  565.         return 1;
  566. }
  567. public OnPlayerDeath(playerid, killerid, reason)
  568. {
  569.  KillingSpree[killerid] ++;
  570.  KillingSpree[playerid] = 0;
  571.  
  572.  if(KillingSpree[killerid] == 3)
  573.  {
  574.                 new pname[24];
  575.                 new string[100];
  576.         GetPlayerName(killerid,pname,24);
  577.         format(string,sizeof(string), "%s Is On A Killing Spree!(x3)",pname);
  578.         SendClientMessageToAll(RED,string);
  579.  }
  580.  if(KillingSpree[killerid] == 4)
  581.  {
  582.                 new pname[24];
  583.                 new string[100];
  584.         GetPlayerName(killerid,pname,24);
  585.         format(string,sizeof(string), "%s Is On A Killing Spree!(x4)",pname);
  586.         SendClientMessageToAll(RED,string);
  587.  }
  588.  if(KillingSpree[killerid] == 5)
  589.  {
  590.                 new pname[24];
  591.                 new string[100];
  592.         GetPlayerName(killerid,pname,24);
  593.         format(string,sizeof(string), "%s Is On A Killing Spree!(x5)",pname);
  594.         SendClientMessageToAll(RED,string);
  595.  }
  596.  if(KillingSpree[killerid] == 6)
  597.  {
  598.                 new pname[24];
  599.                 new string[100];
  600.         GetPlayerName(killerid,pname,24);
  601.         format(string,sizeof(string), "%s Is On A Killing Spree!(x6)",pname);
  602.         SendClientMessageToAll(RED,string);
  603.  }
  604.  if(KillingSpree[killerid] == 7)
  605.  {
  606.                 new pname[24];
  607.                 new string[100];
  608.         GetPlayerName(killerid,pname,24);
  609.         format(string,sizeof(string), "%s Is On A Killing Spree!(x7)",pname);
  610.         SendClientMessageToAll(RED,string);
  611.  }
  612.  if(KillingSpree[killerid] == 8)
  613.  {
  614.                 new pname[24];
  615.                 new string[100];
  616.         GetPlayerName(killerid,pname,24);
  617.         format(string,sizeof(string), "%s Is On A Killing Spree!(x8)",pname);
  618.         SendClientMessageToAll(RED,string);
  619.  }
  620.  if(KillingSpree[killerid] == 9)
  621.  {
  622.                 new pname[24];
  623.                 new string[100];
  624.         GetPlayerName(killerid,pname,24);
  625.         format(string,sizeof(string), "%s Is On A Killing Spree!(x9)",pname);
  626.         SendClientMessageToAll(RED,string);
  627.  }
  628.   if(KillingSpree[killerid] == 10)
  629.  {
  630.                 new pname[24];
  631.                 new string[100];
  632.         GetPlayerName(killerid,pname,24);
  633.         format(string,sizeof(string), "%s Is On A Massive Killing Spree!(x10!)",pname);
  634.         SendClientMessageToAll(RED,string);
  635.         }
  636.         if(killerid == INVALID_PLAYER_ID)
  637.                 {
  638.         SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);
  639.         }
  640.                 else
  641.                 {
  642.         if(gTeam[killerid] != gTeam[playerid])
  643.                 {
  644.                         SendDeathMessage(killerid,playerid,reason);
  645.                         SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
  646.                         GivePlayerMoney(killerid, 1000);
  647.                 }
  648.                 else
  649.                                 {
  650.                 new warning[100];
  651.                 format(warning, sizeof(warning), "Be Careful! Dont Kill Your Team Mates!");
  652.                 SendClientMessage(killerid, RED, warning);
  653.                 SendDeathMessage(killerid,playerid,reason);
  654.                 GivePlayerMoney(killerid, -5000);
  655.                 SetPlayerHealth(killerid, 0);
  656.                 SetPlayerScore(killerid, GetPlayerScore(killerid) - 1);
  657.                                 }
  658.  
  659.         }
  660.         return 1;
  661. }
  662. public NoSpawnKill(playerid)
  663. {
  664.     SetPlayerHealth(playerid,100.0);
  665.     return 1;
  666. }
  667. public OnPlayerCommandText(playerid, cmdtext[])
  668. {
  669.  
  670.         new cmd[256];
  671.         new idx;
  672.         cmd = strtok(cmdtext, idx);
  673.  
  674.  
  675.                 if(!strcmp(cmdtext,"/commands",true))
  676.         {
  677.         if(gTeam[playerid] == TEAM_TERRORISTS)
  678.         {
  679.                 SendClientMessage(playerid, RED, "Commands: /help /rules /pc /tc /report /me /fail /change /kill /stats /credits");
  680.                 }
  681.                 if(gTeam[playerid] == TEAM_COUNTERTERRORISTS)
  682.         {
  683.                 SendClientMessage(playerid, BLUE, "Commands: /help /rules /pc /ct /report /me /fail /change /kill /stats /credits");
  684.         }
  685.                 return 1;
  686.             }
  687.         if(!strcmp(cmdtext,"/pc",true))
  688.             {
  689.         SendClientMessage(playerid, YELLOW, "-----Players Colors-----");
  690.         SendClientMessage(playerid, RED, "Red Player Color: Terrorist's");
  691.                 SendClientMessage(playerid, BLUE, "Blue Player Color: Counter-Terrorist's");
  692.             return 1;
  693.             }
  694.         if(!strcmp(cmdtext,"/credits",true))
  695.             {
  696.         SendClientMessage(playerid, RED, "----Weponz Counter-Strike Battleship----");
  697.         SendClientMessage(playerid, YELLOW, "    Original Scripter/Mapper: Weponz");
  698.                 SendClientMessage(playerid, RED, "-----------Weponz Inc. 2010-------------  ");
  699.             return 1;
  700.             }
  701.             if (strcmp("/help", cmdtext, true) == 0)
  702.             {
  703.         if(gTeam[playerid] == TEAM_TERRORISTS)
  704.                 {
  705.         SendClientMessage(playerid, RED, "Your A Terrorist,Your Goal Is To Defend Your Ship And Attack The Counter Terrorists Ships!");
  706.         SendClientMessage(playerid, RED, "Type /rules Before Playing!,Use /commands For All Of Your Available Commands.");
  707.         }
  708.         else if(gTeam[playerid] == TEAM_COUNTERTERRORISTS)
  709.                 {
  710.         SendClientMessage(playerid, BLUE, "Your A Counter Terrorist,Your Mission Is To Defend Your Ships And Liberate The Terrorists Ship!");
  711.         SendClientMessage(playerid, BLUE, "Type /rules Before Playing!,Use /commands For All Of Your Available Commands.");
  712.         }
  713.         return 1;
  714.         }
  715.                 if (strcmp("/abase", cmdtext, true) == 0)
  716.             {
  717.             if(IsPlayerAdmin(playerid))
  718.                 SetPlayerPos(playerid,-2471.8823,1544.7992,36.8047);
  719.             else SendClientMessage(playerid, RED, "You Are Not A Admin!");
  720.                 return 1;
  721.             }
  722.         if(strcmp(cmd, "/rules", true, 9) == 0)
  723.                 {
  724.         SendClientMessage(playerid, YELLOW, "1.Dont Hack/Cheat,Results In A Perma Ban!");
  725.         SendClientMessage(playerid, YELLOW, "2.Dont Camp!Or Heli Camp!");
  726.         SendClientMessage(playerid, YELLOW, "3.Dont Spam /report Flood Or Advertise!");
  727.         SendClientMessage(playerid, YELLOW, "4.Dont Flame! Respect All Players And Admins!");
  728.         SendClientMessage(playerid, YELLOW, "5.Dont Ask To Be Admin! We Will Ask You!");
  729.         SendClientMessage(playerid, YELLOW, "6.Dont Not Heli(Blade)Kill!");
  730.         return 1;
  731.         }
  732.         if(strcmp(cmd, "/fail", true) == 0)
  733.         {
  734.  
  735.         new string[128];
  736.             new name[MAX_PLAYER_NAME];
  737.         GetPlayerName(playerid, name, sizeof(name));
  738.         format(string, sizeof(string), "%s Has Failed In A Rather Epic Way..",name);
  739.         SendClientMessageToAll(RED, string);
  740.         return 1;
  741.         }
  742.         if (strcmp("/change", cmdtext, true, 5) == 0)
  743.         {
  744.         SetPlayerHealth(playerid, 0.0);
  745.         ForceClassSelection(playerid);
  746.  
  747.         return 1;
  748.         }
  749.         if(!strcmp(cmdtext, "/ct", true, 3))
  750.         {
  751.         if(gTeam[playerid] == TEAM_COUNTERTERRORISTS)
  752.                 {
  753.                         new output[255];
  754.                         new pname[24];
  755.                         new string[128];
  756.                         if(!cmdtext[3])return SendClientMessage(playerid, BLUE, "USAGE: /ct [msg]");
  757.                         GetPlayerName(playerid, pname, 24);
  758.                     strmid(output,cmdtext,3,strlen(cmdtext));
  759.                     format(string, sizeof(string), "COUNTER-TERRORIST-CHAT %s [%d] %s",pname,playerid,output);
  760.                     printf("%s", string);
  761.                     for(new i=0;i<MAX_PLAYERS;i++)
  762.                         {
  763.                                 if(gTeam[i] == TEAM_COUNTERTERRORISTS)
  764.                                 {
  765.                                     format(string, sizeof(string), "(TEAM CHAT) %s [%d] %s",pname,playerid,output);
  766.                                     SendClientMessage(i, BLUE, string);
  767.                             }
  768.                     }
  769.                 }
  770.                 else
  771.                 {
  772.                     SendClientMessage(playerid, BLUE, "Only Counter Terrorists Can Use This Command!");
  773.                 }
  774.                 return 1;
  775.         }
  776.         if(!strcmp(cmdtext, "/tc", true, 3))
  777.     {
  778.         if(gTeam[playerid] == TEAM_TERRORISTS)
  779.                 {
  780.                         new output[255];
  781.                         new pname[24];
  782.                         new string[128];
  783.                         if(!cmdtext[3])return SendClientMessage(playerid, RED, "USAGE: /tc [msg]");
  784.                         GetPlayerName(playerid, pname, 24);
  785.                     strmid(output,cmdtext,3,strlen(cmdtext));
  786.                     format(string, sizeof(string), "TERRORIST-CHAT %s [%d] %s",pname,playerid,output);
  787.                     printf("%s", string);
  788.                     for(new i=0;i<MAX_PLAYERS;i++)
  789.                         {
  790.                                 if(gTeam[i] == TEAM_TERRORISTS)
  791.                                 {
  792.                                     format(string, sizeof(string), "(TEAM CHAT) %s [%d] %s",pname,playerid,output);
  793.                                     SendClientMessage(i, RED, string);
  794.                             }
  795.                     }
  796.                 }
  797.                 else
  798.                 {
  799.                     SendClientMessage(playerid, RED, "Only Terrorists Can Use This Command!");
  800.                 }
  801.                 return 1;
  802.         }
  803.             if(!strcmp(cmdtext, "/me", true, 3))
  804.         {
  805.         if(!cmdtext[3])return SendClientMessage(playerid, YELLOW, "USAGE: /me [msg]");
  806.         new str[128];
  807.         GetPlayerName(playerid, str, sizeof(str));
  808.         format(str, sizeof(str), "* %s %s", str, cmdtext[4]);
  809.         SendClientMessageToAll(YELLOW, str);
  810.         return 1;
  811. }
  812. return 0;
  813. }
  814. public OnPlayerRequestClass(playerid, classid)
  815. {
  816.     SetPlayerTeamFromClass(playerid, classid);
  817.         SetPlayerInterior(playerid, 0);
  818.     SetPlayerPos(playerid, -2469.8145,1545.0579,36.7992);
  819.     SetPlayerFacingAngle(playerid, 87.7678);
  820.     SetPlayerCameraLookAt(playerid, -2469.8145,1545.0579,36.7992);
  821.     SetPlayerCameraPos(playerid, -2469.8145 + (5 * floatsin(-87.7678, degrees)), 1545.0579 + (5 * floatcos(-87.7678, degrees)), 36.7992);
  822.  
  823.         return 1;
  824. }
  825. public OnPlayerText(playerid,text[])
  826. {
  827.     return 1;
  828. }
  829.  
  830. public OnPlayerRequestSpawn(playerid)
  831. {
  832.     return 1;
  833. }
  834. public OnPlayerUpdate(playerid)
  835. {
  836.     static
  837.         s_Interior,
  838.         s_Weapon
  839.     ;
  840.  
  841.     s_Interior = GetPlayerInterior( playerid );
  842.     s_Weapon = GetPlayerWeapon( playerid );
  843.  
  844.     if ( s_Interior && s_Weapon && s_Weapon != WEAPON_BRASSKNUCKLE )
  845.         {
  846.         SetPlayerArmedWeapon( playerid, s_Weapon ? WEAPON_BRASSKNUCKLE : 0 );
  847.         }
  848.     return 1;
  849. }
  850. public SetPlayerTeamFromClass(playerid, classid)
  851. {
  852.         switch(classid)
  853.         {
  854.                 case 0:
  855.             {
  856.                 gTeam[playerid] = TEAM_TERRORISTS;
  857.                 GameTextForPlayer(playerid, "~r~Terrorist", 2000, 0);
  858.                 }
  859.                 case 1:
  860.         {
  861.                 gTeam[playerid] = TEAM_TERRORISTS;
  862.                 GameTextForPlayer(playerid, "~r~Terrorist", 2000, 0);
  863.                 }
  864.                 case 2:
  865.         {
  866.                 gTeam[playerid] = TEAM_TERRORISTS;
  867.                 GameTextForPlayer(playerid, "~r~Terrorist", 2000, 0);
  868.                 }
  869.                 case 3:
  870.                 {
  871.                     gTeam[playerid] = TEAM_TERRORISTS;
  872.                         GameTextForPlayer(playerid, "~r~Terrorist", 2000, 0);
  873.         }
  874.                 case 4:
  875.                 {
  876.                     gTeam[playerid] = TEAM_COUNTERTERRORISTS;
  877.                         GameTextForPlayer(playerid, "~b~Counter Terrorist", 2000, 0);
  878.         }
  879.                 case 5:
  880.                 {
  881.                     gTeam[playerid] = TEAM_COUNTERTERRORISTS;
  882.                         GameTextForPlayer(playerid, "~b~Counter Terrorist", 2000, 0);
  883.                 }
  884.                 case 6:
  885.                 {
  886.                     gTeam[playerid] = TEAM_COUNTERTERRORISTS;
  887.                         GameTextForPlayer(playerid, "~b~Counter Terrorist", 2000, 0);
  888.                 }
  889.         case 7:
  890.                 {
  891.                     gTeam[playerid] = TEAM_COUNTERTERRORISTS;
  892.                         GameTextForPlayer(playerid, "~b~Counter Terrorist", 2000, 0);
  893.                        
  894.                         }
  895. }
  896. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top