Kwarde

Floating Admin Island v1

Oct 14th, 2010
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 20.79 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. new main_gate;
  4. new
  5.     ship1,
  6.     ship2,
  7.     ship3
  8. ;
  9. new elevator;
  10.  
  11. public OnFilterScriptInit()
  12. {
  13.     print(" ");
  14.     print("**** Floating Admin Area filterscript loaded (By Kwarde) ****");
  15.     print(" ");
  16.    
  17.     CreateObject(10865, 3201.373047, -1997.484497, 3.795326, 0.0000, 0.0000, 42.9718);
  18.     CreateObject(3406, 3210.093506, -1961.221191, 0.686606, 0.0000, 0.0000, 311.8715);
  19.     CreateObject(3406, 3211.572510, -1959.891357, 0.705642, 0.0000, 0.0000, 311.8715);
  20.     CreateObject(3406, 3213.028320, -1958.550171, 0.717998, 0.0000, 0.0000, 311.8715);
  21.     CreateObject(3406, 3207.251221, -1952.055176, 0.734541, 0.0000, 0.0000, 311.8715);
  22.     CreateObject(3406, 3205.737549, -1953.373291, 0.697184, 0.0000, 0.0000, 311.8715);
  23.     CreateObject(3406, 3204.288330, -1954.714600, 0.703149, 0.0000, 0.0000, 311.8715);
  24.     CreateObject(3406, 3208.952393, -1945.326416, 0.726083, 0.0000, 0.0000, 41.2530);
  25.     CreateObject(3406, 3215.301270, -1939.844482, 0.715217, 0.0000, 0.0000, 41.2530);
  26.     CreateObject(3406, 3198.111572, -1954.824097, 0.730075, 0.0000, 0.0000, 41.2530);
  27.     CreateObject(3406, 3191.501709, -1960.607300, 0.730904, 0.0000, 0.0000, 41.2530);
  28.     CreateObject(3406, 3184.650391, -1958.902710, 0.771617, 0.0000, 0.0000, 133.2127);
  29.     CreateObject(3406, 3193.127930, -1951.471313, 0.778922, 0.0000, 0.0000, 129.7749);
  30.     CreateObject(3406, 3213.536377, -1933.557617, 0.731760, 0.0000, 0.0000, 131.4938);
  31.     CreateObject(3406, 3205.478027, -1940.558716, 0.731738, 0.0000, 0.0000, 131.4938);
  32.     CreateObject(980, 3207.184570, -1968.345581, 7.561251, 0.0000, 0.0000, 42.9718);
  33.     CreateObject(980, 3220.620361, -1956.337036, 7.406579, 0.0000, 0.0000, 42.9718);
  34.     CreateObject(980, 3222.141113, -1954.927612, 7.364037, 0.0000, 0.0000, 42.9718);
  35.     CreateObject(980, 3230.240723, -1955.178101, 7.364037, 0.0000, 0.0000, 132.3534);
  36.     CreateObject(980, 3237.934570, -1963.697388, 7.396849, 0.0000, 0.0000, 132.3534);
  37.     CreateObject(980, 3245.690918, -1972.104370, 7.340300, 0.0000, 0.0000, 133.2128);
  38.     CreateObject(980, 3248.190430, -1977.615845, 4.397078, 358.2811, 89.3814, 43.8314);
  39.     CreateObject(980, 3234.573975, -1990.255005, 5.939032, 0.0000, 0.0000, 42.1125);
  40.     CreateObject(980, 3226.031982, -1998.176758, 5.949709, 0.0000, 0.0000, 42.9719);
  41.     CreateObject(980, 3217.611328, -2006.007446, 5.939032, 0.0000, 0.0000, 42.9719);
  42.     CreateObject(980, 3209.202148, -2013.780518, 5.864031, 0.0000, 0.0000, 42.9719);
  43.     CreateObject(980, 3200.755859, -2021.665405, 5.889031, 0.0000, 0.0000, 42.9719);
  44.     CreateObject(980, 3192.417480, -2029.464355, 5.839031, 0.0000, 0.0000, 42.9719);
  45.     CreateObject(980, 3183.994141, -2037.310547, 5.864031, 0.0000, 0.0000, 42.9719);
  46.     CreateObject(980, 3180.958984, -2040.043701, 7.096588, 0.0000, 0.0000, 42.1125);
  47.     CreateObject(980, 3172.834717, -2039.640625, 7.471588, 0.0000, 0.0000, 313.5905);
  48.     CreateObject(980, 3165.205078, -2031.623901, 7.512575, 0.0000, 0.0000, 311.8717);
  49.     CreateObject(980, 3157.365967, -2023.261719, 7.421842, 0.0000, 0.0000, 313.5905);
  50.     CreateObject(980, 3157.712402, -2015.141968, 7.496107, 0.0000, 0.0000, 223.3496);
  51.     CreateObject(980, 3166.053223, -2007.307983, 7.511416, 0.0000, 0.0000, 223.3496);
  52.     CreateObject(980, 3174.452393, -1999.484619, 7.514030, 0.0000, 0.0000, 223.3496);
  53.     CreateObject(980, 3182.799561, -1991.754150, 7.514030, 0.0000, 0.0000, 223.3496);
  54.     CreateObject(980, 3191.204102, -1983.802734, 7.489032, 0.0000, 0.0000, 223.3496);
  55.     CreateObject(980, 3199.405762, -1975.775757, 7.496842, 0.0000, 0.0000, 225.9280);
  56.     CreateObject(967, 3217.957031, -1960.982178, 2.740639, 0.0000, 0.0000, 311.0122);
  57.     CreateObject(966, 3216.840820, -1960.540283, 2.740639, 0.0000, 0.0000, 42.1124);
  58.     CreateObject(3996, 2897.412354, -1880.674805, 15.515259, 0.0000, 353.9839, 349.6868);
  59.     CreateObject(3996, 2998.503906, -1897.551514, 21.015877, 0.0000, 0.0000, 351.4056);
  60.     CreateObject(3361, 3005.504883, -1885.891846, 18.961624, 0.0000, 0.0000, 81.6465);
  61.     CreateObject(3361, 3006.364990, -1880.024048, 14.759993, 0.0000, 0.0000, 81.6465);
  62.     CreateObject(3361, 3006.794678, -1877.654419, 11.973576, 0.0000, 0.0000, 265.5658);
  63.     CreateObject(973, 3007.081299, -1892.936646, 21.777973, 0.0000, 0.0000, 88.5220);
  64.     CreateObject(973, 3006.741699, -1902.572021, 21.777971, 0.0000, 0.0000, 86.8031);
  65.     CreateObject(973, 2998.954102, -1887.887573, 21.942034, 0.0000, 0.0000, 351.4056);
  66.     CreateObject(973, 2989.262939, -1886.266968, 21.942034, 0.0000, 0.0000, 351.4056);
  67.     CreateObject(973, 2979.421387, -1884.787964, 21.942034, 0.0000, 0.0000, 351.4056);
  68.     CreateObject(973, 2969.529541, -1883.409912, 21.942034, 0.0000, 0.0000, 351.4056);
  69.     CreateObject(973, 2959.827881, -1882.212891, 21.942034, 0.0000, 0.0000, 351.4056);
  70.     CreateObject(973, 2950.377197, -1880.956055, 21.379566, 0.0000, 0.0000, 351.4056);
  71.     CreateObject(973, 2940.261963, -1878.704102, 21.007135, 0.0000, 353.1245, 348.8273);
  72.     CreateObject(973, 2930.472168, -1876.796997, 19.961489, 0.0000, 353.1245, 348.8273);
  73.     CreateObject(973, 2920.902344, -1875.193604, 18.864614, 0.0000, 353.1245, 351.4056);
  74.     CreateObject(973, 2911.631104, -1873.549194, 17.832357, 0.0000, 353.1245, 351.4056);
  75.     CreateObject(973, 2901.627441, -1872.104126, 16.657360, 0.0000, 353.1245, 349.6868);
  76.     CreateObject(973, 2892.364258, -1870.355591, 15.853401, 0.0000, 353.1245, 349.6868);
  77.     CreateObject(973, 2881.863770, -1868.223999, 14.842265, 0.0000, 353.1245, 349.6868);
  78.     CreateObject(973, 2872.130615, -1866.992065, 13.481382, 0.0000, 353.1245, 349.6868);
  79.     CreateObject(973, 2861.916504, -1864.467285, 12.474575, 0.0000, 353.1245, 349.6868);
  80.     CreateObject(973, 2852.269287, -1879.114990, 11.809560, 0.0000, 353.1245, 349.6868);
  81.     CreateObject(973, 2862.150879, -1881.158813, 12.837528, 0.0000, 353.1245, 351.4056);
  82.     CreateObject(973, 2873.341797, -1883.052490, 13.682466, 0.0000, 353.1245, 351.4056);
  83.     CreateObject(973, 2883.427490, -1884.900879, 15.007132, 0.0000, 353.1245, 347.9679);
  84.     CreateObject(973, 2894.086426, -1887.116577, 16.097639, 0.0000, 353.1245, 347.9679);
  85.     CreateObject(973, 2905.180908, -1889.120850, 17.269846, 0.0000, 353.1245, 347.9679);
  86.     CreateObject(973, 2915.447998, -1890.560181, 18.456028, 0.0000, 353.1245, 350.5462);
  87.     CreateObject(973, 2926.704102, -1892.804077, 19.333130, 0.0000, 353.1245, 350.5462);
  88.     CreateObject(973, 2937.022705, -1894.578491, 20.615614, 0.0000, 353.1245, 350.5462);
  89.     CreateObject(973, 2947.245850, -1896.893066, 21.719259, 0.0000, 353.1245, 350.5462);
  90.     CreateObject(973, 2957.588867, -1898.578369, 21.942034, 0.0000, 0.0000, 352.2651);
  91.     CreateObject(973, 2967.694580, -1900.298462, 21.942034, 0.0000, 0.0000, 352.2651);
  92.     CreateObject(973, 2977.655273, -1901.524902, 21.934240, 0.0000, 0.0000, 352.2651);
  93.     CreateObject(973, 2987.757324, -1903.044800, 21.934240, 0.0000, 0.0000, 352.2651);
  94.     CreateObject(973, 2997.847168, -1904.841553, 21.942034, 0.0000, 0.0000, 346.2490);
  95.     CreateObject(3361, 3242.094482, -1877.872437, 11.844309, 0.0000, 0.0000, 269.0037);
  96.     CreateObject(3406, 3242.051270, -1884.886108, 7.845179, 0.0000, 0.0000, 90.2408);
  97.     CreateObject(3406, 3242.117920, -1892.149414, 7.911722, 0.0000, 0.0000, 90.2408);
  98.     CreateObject(3406, 3240.679688, -1899.569946, 7.960580, 0.0000, 0.0000, 65.3171);
  99.     CreateObject(3406, 3236.191895, -1906.597046, 7.962106, 0.0000, 0.0000, 47.2690);
  100.     CreateObject(3406, 3230.476563, -1912.795044, 7.949084, 0.0000, 0.0000, 47.2690);
  101.     CreateObject(3361, 3223.832275, -1919.899902, 7.950110, 0.0000, 0.0000, 226.8913);
  102.     CreateObject(3361, 3219.937744, -1924.044189, 4.159276, 0.0000, 0.0000, 226.8913);
  103.     CreateObject(3406, 3215.702148, -1928.210083, 0.701775, 0.0000, 0.0000, 42.9718);
  104.     CreateObject(1653, 3243.281006, -1982.144775, 3.416656, 0.0000, 0.0000, 222.5942);
  105.     CreateObject(1653, 3243.253174, -1982.120483, 4.704035, 0.0000, 0.0000, 222.5942);
  106.     CreateObject(16052, 3215.780762, -1964.950195, 4.386635, 0.0000, 0.0000, 39.5341);
  107.     CreateObject(991, 3212.592041, -1965.406494, 2.055872, 0.8594, 90.2409, 358.2811);
  108.     CreateObject(991, 3217.258789, -1963.099609, 2.055877, 0.8594, 89.3814, 61.0199);
  109.     CreateObject(991, 3213.669678, -1965.475952, 2.030872, 0.0000, 90.2409, 351.4056);
  110.     CreateObject(1233, 3211.030273, -1963.512085, 4.317104, 0.0000, 0.0000, 190.6909);
  111.     CreateObject(1233, 3214.932617, -1959.910767, 4.348495, 0.0000, 0.0000, 252.5704);
  112.     CreateObject(3406, 3177.839111, -2021.738525, 103.969513, 0.0000, 0.0000, 44.6907);
  113.     CreateObject(3406, 3178.438721, -2015.612793, 103.986061, 0.0000, 0.0000, 134.9316);
  114.     CreateObject(3406, 3171.768799, -2013.932861, 104.002625, 0.0000, 0.0000, 186.4978);
  115.     CreateObject(3361, 3163.099854, -2014.950806, 104.022278, 359.1406, 0.0000, 187.3573);
  116.     CreateObject(983, 3175.909180, -2022.248535, 106.723885, 0.0000, 0.0000, 314.4499);
  117.     CreateObject(983, 3177.340576, -2023.670044, 106.723885, 0.0000, 0.0000, 314.4499);
  118.     CreateObject(983, 3180.286133, -2020.687134, 106.723885, 0.0000, 0.0000, 314.4499);
  119.     CreateObject(983, 3177.493652, -2020.687866, 106.747742, 0.0000, 0.0000, 314.4499);
  120.     CreateObject(983, 3180.337402, -2016.145874, 106.747742, 0.0000, 0.0000, 44.6907);
  121.     CreateObject(983, 3178.644287, -2014.465576, 106.665459, 0.0000, 0.0000, 44.6907);
  122.     CreateObject(983, 3177.834717, -2016.484131, 106.747742, 0.0000, 0.0000, 44.6907);
  123.     CreateObject(983, 3172.616943, -2014.822388, 106.730774, 0.0000, 0.0000, 96.2569);
  124.     CreateObject(983, 3169.031738, -2015.253052, 106.756996, 0.0000, 0.0000, 96.2569);
  125.     CreateObject(983, 3173.231445, -2012.737915, 106.681992, 0.0000, 0.0000, 96.2569);
  126.     CreateObject(983, 3168.831055, -2013.270996, 106.706993, 0.0000, 0.0000, 96.2569);
  127.     CreateObject(969, 3173.332031, -2024.098999, 105.932236, 0.0000, 91.9597, 313.5904);
  128.     CreateObject(969, 3173.196289, -2023.882935, 98.214813, 0.0000, 91.9597, 313.5904);
  129.     CreateObject(969, 3173.018799, -2023.653931, 89.565651, 0.0000, 91.9597, 313.5904);
  130.     CreateObject(969, 3172.865967, -2023.532227, 81.390656, 0.0000, 91.9597, 313.5904);
  131.     CreateObject(969, 3172.666748, -2023.355103, 72.932518, 0.0000, 91.9597, 313.5904);
  132.     CreateObject(969, 3172.506348, -2023.114502, 64.182457, 0.0000, 91.9597, 313.5904);
  133.     CreateObject(969, 3172.314209, -2022.873657, 55.407516, 0.0000, 91.9597, 313.5904);
  134.     CreateObject(969, 3171.851318, -2022.677002, 46.452881, 0.0000, 89.3814, 315.3093);
  135.     CreateObject(969, 3171.876709, -2022.685669, 37.682468, 0.0000, 89.3814, 315.3093);
  136.     CreateObject(969, 3171.989990, -2022.779541, 29.416939, 0.0000, 89.3814, 315.3093);
  137.     CreateObject(969, 3172.057861, -2022.811646, 20.557510, 0.0000, 89.3814, 315.3093);
  138.     CreateObject(969, 3172.122070, -2022.791138, 14.616942, 0.0000, 89.3814, 315.3093);
  139.     CreateObject(10865, 3141.259766, -1982.491577, 102.750328, 0.0000, 0.0000, 272.3374);
  140.     CreateObject(10865, 3106.814941, -1984.305542, 102.750328, 0.0000, 0.0000, 92.8191);
  141.     CreateObject(3315, 3104.250732, -1952.713379, 102.688774, 0.0000, 0.0000, 2.5783);
  142.     CreateObject(3317, 3103.403809, -2015.499390, 105.032516, 0.0000, 0.0000, 183.9196);
  143.     CreateObject(3485, 3129.801758, -1948.252930, 108.685127, 0.0000, 0.0000, 92.8192);
  144.     CreateObject(18090, 3121.293213, -2031.100830, 104.159004, 0.0000, 0.0000, 274.0563);
  145.     CreateObject(1805, 3124.469482, -2028.711548, 101.944717, 0.0000, 0.0000, 0.0000);
  146.     CreateObject(1805, 3122.898193, -2028.607788, 101.944717, 0.0000, 0.0000, 0.0000);
  147.     CreateObject(1805, 3121.325928, -2028.796265, 101.944717, 0.0000, 0.0000, 0.0000);
  148.     CreateObject(1805, 3119.656006, -2028.764038, 101.969719, 0.0000, 0.0000, 0.0000);
  149.     CreateObject(956, 3116.818115, -2023.700195, 102.082214, 0.0000, 0.0000, 95.3975);
  150.     CreateObject(955, 3116.600830, -2022.230713, 102.106247, 0.0000, 0.0000, 92.8192);
  151.     CreateObject(643, 3122.442627, -2023.708618, 102.166115, 0.0000, 0.0000, 0.0000);
  152.     CreateObject(643, 3119.344971, -2016.589355, 102.166115, 0.0000, 0.0000, 0.0000);
  153.     CreateObject(643, 3123.531494, -2019.671021, 102.166115, 0.0000, 0.0000, 32.6586);
  154.     CreateObject(643, 3122.397949, -2013.582764, 102.166115, 0.0000, 0.0000, 34.3775);
  155.     CreateObject(970, 3126.329346, -2026.504150, 102.247124, 0.0000, 0.0000, 272.3375);
  156.     CreateObject(970, 3126.168945, -2022.371948, 102.247124, 0.0000, 0.0000, 272.3375);
  157.     CreateObject(970, 3126.063965, -2020.298096, 102.247124, 0.0000, 0.0000, 272.3375);
  158.     CreateObject(2098, 3119.127930, -1995.979492, 103.641655, 0.0000, 0.0000, 2.5783);
  159.     CreateObject(3461, 3116.244385, -1996.010742, 101.820641, 0.0000, 0.0000, 0.0000);
  160.     CreateObject(3461, 3115.672119, -1996.034668, 101.845673, 0.0000, 0.0000, 0.0000);
  161.     CreateObject(3461, 3114.990479, -1996.063354, 101.820656, 0.0000, 0.0000, 0.0000);
  162.     CreateObject(3461, 3122.022949, -1995.644775, 101.770653, 0.0000, 0.0000, 0.0000);
  163.     CreateObject(3461, 3122.762695, -1995.736938, 101.770653, 0.0000, 0.0000, 0.0000);
  164.     CreateObject(3461, 3123.661377, -1995.922852, 101.670662, 0.0000, 0.0000, 0.0000);
  165.     CreateObject(2342, 3119.374023, -2016.569702, 102.675041, 0.0000, 0.0000, 0.0000);
  166.     CreateObject(2683, 3122.239502, -2029.519897, 102.769112, 0.0000, 0.0000, 0.0000);
  167.     CreateObject(2858, 3122.331299, -2023.774048, 102.574196, 0.0000, 0.0000, 0.0000);
  168.     CreateObject(18267, 3151.130859, -1996.130859, 101.655624, 0.0000, 0.0000, 92.8192);
  169.     CreateObject(1758, 3146.841309, -1992.513306, 101.704391, 0.0000, 0.0000, 272.3375);
  170.     CreateObject(1758, 3146.655273, -1995.653442, 101.704391, 0.0000, 0.0000, 248.2732);
  171.     CreateObject(1516, 3146.777100, -1994.482056, 101.884193, 0.0000, 0.0000, 0.0000);
  172.     CreateObject(14806, 3142.585693, -1994.297974, 102.794769, 0.0000, 0.0000, 90.1368);
  173.     CreateObject(2558, 3142.340820, -1994.824219, 103.098305, 0.0000, 0.0000, 94.5380);
  174.     CreateObject(2558, 3142.572998, -1999.332153, 103.138351, 0.0000, 0.0000, 94.5380);
  175.     CreateObject(3278, 3150.577881, -1991.327026, 103.108742, 0.0000, 0.0000, 0.0000);
  176.     CreateObject(2558, 3144.636963, -1991.953003, 103.210892, 0.0000, 0.0000, 0.0000);
  177.     CreateObject(2558, 3157.545410, -1993.070435, 103.200218, 0.0000, 0.0000, 274.0563);
  178.     CreateObject(2558, 3154.869873, -1991.362793, 103.221046, 0.0000, 0.0000, 2.5783);
  179.     CreateObject(2558, 3157.679443, -1997.481567, 103.272003, 0.0000, 0.0000, 273.1969);
  180.     CreateObject(2558, 3156.125977, -2000.366821, 103.216805, 0.0000, 0.0000, 183.8153);
  181.     CreateObject(2046, 3149.019775, -1991.704834, 102.264641, 0.0000, 0.0000, 2.5783);
  182.     CreateObject(1661, 3145.390625, -1994.388306, 104.609772, 0.0000, 0.0000, 0.0000);
  183.     CreateObject(1738, 3144.698975, -1991.873169, 102.363380, 0.0000, 0.0000, 0.0000);
  184.     CreateObject(1745, 3154.834473, -1994.713257, 101.732536, 0.0000, 0.0000, 0.0000);
  185.     CreateObject(1786, 3155.647461, -1995.895142, 104.501099, 23.2048, 1.7189, 184.7790);
  186.     CreateObject(1808, 3148.177002, -2000.813843, 101.678589, 0.0000, 0.0000, 175.2211);
  187.     CreateObject(1809, 3149.014160, -1991.485474, 102.789726, 0.0000, 0.0000, 0.0000);
  188.     CreateObject(1829, 3151.822998, -1992.179932, 102.198280, 0.0000, 0.0000, 0.0000);
  189.     CreateObject(1828, 3145.362793, -1994.455322, 101.731468, 0.0000, 0.0000, 0.0000);
  190.     CreateObject(1841, 3148.961914, -1991.577026, 104.563965, 0.0000, 339.3735, 54.1446);
  191.     CreateObject(1841, 3149.064697, -2000.850952, 104.465187, 0.0000, 339.3735, 311.0122);
  192.     CreateObject(1841, 3141.944580, -1992.123291, 104.559540, 0.0000, 339.3735, 134.8275);
  193.     CreateObject(1841, 3142.083252, -1997.069214, 104.456581, 0.0000, 339.3735, 199.2853);
  194.     CreateObject(2028, 3142.874023, -1993.842773, 102.417114, 0.0000, 0.0000, 87.6625);
  195.     CreateObject(2132, 3154.154785, -2000.165283, 101.732712, 0.0000, 0.0000, 182.0966);
  196.     CreateObject(2131, 3157.373779, -1999.353882, 101.732712, 0.0000, 0.0000, 218.1929);//
  197.     CreateObject(2135, 3152.104980, -2000.212769, 101.705788, 0.0000, 0.0000, 183.0602);
  198.     CreateObject(2149, 3154.406250, -2000.527710, 103.482498, 0.0000, 0.0000, 178.6588);
  199.     CreateObject(1594, 3151.652100, -1996.932861, 102.210739, 0.0000, 0.0000, 0.0000);
  200.     CreateObject(1491, 3144.916260, -2001.600830, 101.721863, 0.0000, 357.4217, 312.7310);
  201.     CreateObject(1232, 3147.978271, -1991.933838, 100.370392, 0.0000, 0.0000, 0.0000);
  202.     CreateObject(1232, 3143.075684, -1997.556519, 99.870392, 0.0000, 0.0000, 0.0000);
  203.     CreateObject(1633, 3093.414795, -1985.932129, 102.995934, 0.0000, 0.0000, 87.6625);
  204.     CreateObject(1633, 3085.483154, -1985.652344, 105.245934, 0.0000, 0.0000, 87.6625);
  205.     CreateObject(1633, 3078.308105, -1985.260742, 108.637642, 15.4699, 0.0000, 85.9437);
  206.     CreateObject(1226, 3156.107910, -2018.980957, 105.570061, 0.0000, 0.0000, 286.0884);
  207.     CreateObject(1226, 3156.030273, -2012.748047, 105.570061, 0.0000, 0.0000, 93.6786);
  208.  
  209.     main_gate = CreateObject(968, 3216.920654, -1960.451050, 3.546429, 0.0000, 268.8998, 42.1124);
  210.     ship1 = CreateObject(10794, 3032.941895, -1855.616211, 3.840821, 0.0000, 0.0000, 0.0000);
  211.     ship2 = CreateObject(10795, 3030.660156, -1855.546997, 13.947429, 0.0000, 0.0000, 0.0000);
  212.     ship3 = CreateObject(10793, 2957.849121, -1855.491333, 32.335598, 0.0000, 0.0000, 0.0000);
  213.     elevator = CreateObject(5837, 3172.162354, -2025.484619, 4.215692, 0.0000, 0.0000, 313.5904);
  214.     return 1;
  215. }
  216.  
  217. public OnRconCommand(cmd[])
  218. {
  219.     if(!strcmp(cmd, "flagoship", true)){
  220.         MoveObject(ship1, 3283.209473, -1855.613281, 3.854892, 7);
  221.         MoveObject(ship2, 3280.890137, -1855.675659, 13.944846, 7);
  222.         MoveObject(ship3, 3207.841553, -1855.745605, 32.383705, 7);
  223.         print("** Floating Admin Island: Ship moving to the Admin island");
  224.         return 1;
  225.     }
  226.     if(!strcmp(cmd, "flabackship", true)){
  227.         MoveObject(ship1, 3032.941895, -1855.616211, 3.840821, 7);
  228.         MoveObject(ship2, 3030.660156, -1855.546997, 13.947429, 7);
  229.         MoveObject(ship3, 2957.849121, -1855.491333, 32.335598, 7);
  230.         print("** Floating Admin Island: Ship moving back to land [Los Santos]");
  231.         return 1;
  232.     }
  233.     if(!strcmp(cmd, "flastopship", true)){
  234.         StopObject(ship1);
  235.         StopObject(ship2);
  236.         StopObject(ship3);
  237.         return 1;
  238.     }
  239.     if(!strcmp(cmd, "flaopengate", true)){
  240.         SetObjectPos(main_gate, 3216.792480, -1960.593262, 3.549888);
  241.         SetObjectRot(main_gate, 0.0000, 0.0000, 36.0963);
  242.         print("** Floating Admin Island: Main Gate opened");
  243.         return 1;
  244.     }
  245.     if(!strcmp(cmd, "flaclosegate", true)){
  246.         SetObjectPos(main_gate, 3216.920654, -1960.451050, 3.546429);
  247.         SetObjectRot(main_gate, 0.0000, 268.8998, 42.1124);
  248.         print("** Floating Admin Island: Main Gate closed");
  249.         return 1;
  250.     }
  251.     if(!strcmp(cmd, "flaelup", true)){
  252.         MoveObject(elevator, 3173.592529, -2027.358765, 107.478500, 3);
  253.         print("** Floating Admin Island: Elevator moving up");
  254.         return 1;
  255.     }
  256.     if(!strcmp(cmd, "flaeldown", true)){
  257.         MoveObject(elevator, 3172.162354, -2025.484619, 4.215692, 3);
  258.         print("** Floating Admin Island: Elevator moving down");
  259.         return 1;
  260.     }
  261.     if(!strcmp(cmd, "flaelstop", true)){
  262.         StopObject(elevator);
  263.         return 1;
  264.     }
  265.     if(!strcmp(cmd, "flahelp", true)){ //Only use this one in the REMOTE CONSOLE ;) (But you can use it ingame to)
  266.         print("flagoship : Move the ship to the island - flablackship : Move the ship back to the land");
  267.         print("flaopengate : Open the main gate - flaclosegate : Close the main gate");
  268.         print("flaelup : Move the elevator up - flaeldown : Move the elevator down");
  269.         print("flastopship : Stop moving the ship - flaelstop : Stop moving the elevator");
  270.         return 1;
  271.     }
  272.     return 0;
  273. }
  274.  
  275. public OnPlayerCommandText(playerid, cmdtext[])
  276. {
  277.     if(!strcmp(cmdtext, "/flahelp", true)){
  278.         if(IsPlayerAdmin(playerid)){
  279.             SendClientMessage(playerid, 0x00FF00AA, "|----- Floating Admin Island help -----|");
  280.             SendClientMessage(playerid, 0xFFFFFFAA, "/flagoto : Teleport to the begin road of the island (You need to go on the ship + elevator first");
  281.             SendClientMessage(playerid, 0xFFFFFFAA, "/rcon flagoship : Move the ship to the island - /rcon flablackship : Move the ship back to the land");
  282.             SendClientMessage(playerid, 0xFFFFFFAA, "/rcon flaopengate : Open the main gate - /rcon flaclosegate : Close the main gate");
  283.             SendClientMessage(playerid, 0xFFFFFFAA, "/rcon flaelup : Move the elevator up - /rcon flaeldown : Move the elevator down");
  284.             SendClientMessage(playerid, 0xFFFFFFAA, "/rcon flastopship : Stop moving the ship - /rcon flaelstop : Stop moving the elevator");
  285.             SendClientMessage(playerid, 0x00FF00AA, "|---------------------------------------|");
  286.             return 1;
  287.         }
  288.     }
  289.     if(!strcmp(cmdtext, "/flagoto", true)){
  290.         if(IsPlayerAdmin(playerid)){
  291.             if(IsPlayerInAnyVehicle(playerid)) SetVehicleToRespawn(GetPlayerVehicleID(playerid));
  292.             SetPlayerPos(playerid, 2845.966796,-1871.616455,11.101553);
  293.             SetPlayerFacingAngle(playerid, 262.121154);
  294.             return 1;
  295.         }
  296.     }
  297.     return 0;
  298. }
Add Comment
Please, Sign In to add comment