#include forward Timer(); forward SetPlayerPosWithObjects(playerid,Float:x,Float:y,Float:z); /* SetPlayerPosWithObjects usage in your gamemode: CallRemoteFunction("SetPlayerPosWithObjects","ifff",playerid,newx,newy,newz); */ //------------------------------------------------------------------------------ enum object_info { modelid, Float:ox, Float:oy, Float:oz, Float:orx, Float:ory, Float:orz, Float:viewdist } new Objects[][object_info] = { {10395, 2548.5544, -5733.5298, 10.2071, 0.0000, 0.0000, 95.5714, 250.0}, {10352, 2231.0098, -5648.4307, 3.3517, 358.5244, 358.4609, 273.1704, 250.0}, {10352, 2694.9951, -5617.7363, 2.4980, 0.9218, 357.7200, 273.2446, 250.0}, {10352, 2473.5244, -5632.4932, 0.5607, 0.0000, 357.7203, 273.2080, 250.0}, {8040, 2499.0547, -5730.3218, 11.0491, 0.0000, 0.0000, 4.5510, 250.0}, {8040, 2502.3118, -5764.4756, 11.0386, 0.0000, 0.0000, 4.5483, 250.0}, {7474, 2628.2395, -5745.0142, 10.1677, 0.0000, 0.0000, 4.4280, 250.0}, {7474, 2634.8716, -5824.4097, 10.1205, 0.0000, 0.0000, 4.4275, 250.0}, {7474, 2451.7344, -5787.5049, 10.0583, 0.0000, 0.0000, 184.7131, 250.0}, {7474, 2461.6904, -5906.9248, 10.1079, 0.0000, 0.0000, 184.7131, 250.0}, {7474, 2641.4629, -5943.9805, 10.1205, 0.0000, 0.0000, 4.4275, 250.0}, {7474, 2557.5798, -5871.4438, 10.1441, 0.0000, 0.0000, 273.5948, 250.0}, {3996, 2689.0947, -5765.3018, 10.2955, 0.0000, 0.0000, 95.3087, 250.0}, {4139, 2637.8838, -5738.4829, 10.6219, 0.0000, 0.0000, 5.0430, 250.0}, {4142, 2601.7268, -5814.6226, 10.2557, 0.0000, 0.0000, 5.5965, 250.0}, {3469, 2449.0413, -6008.2837, 13.2594, 0.0000, 0.0000, 275.3789, 250.0}, {7474, 2806.1042, -5715.1182, 10.1677, 0.0000, 0.0000, 183.8632, 250.0}, {7474, 2811.0442, -5773.9004, 10.1441, 0.0000, 0.0000, 4.4275, 250.0}, {7474, 2814.5498, -5851.3418, 10.0969, 0.0000, 0.0000, 4.4275, 250.0}, {7474, 2820.6687, -5929.7280, 10.0733, 0.0000, 0.0000, 4.4275, 250.0}, {4142, 2737.7651, -5852.2407, 10.2557, 0.0000, 0.0000, 185.8267, 250.0}, {4142, 2609.5779, -5894.1870, 10.2321, 0.0000, 0.0000, 185.8228, 250.0}, {4142, 2697.2527, -5965.7983, 10.2085, 0.0000, 0.0000, 185.8228, 250.0}, {3469, 2721.1802, -5741.2734, 13.2830, 0.0000, 0.0000, 182.3121, 250.0}, {4142, 2503.8201, -5845.0405, 10.2321, 0.0000, 0.0000, 6.2744, 250.0}, {4142, 2512.4006, -5924.4868, 10.2321, 0.0000, 0.0000, 6.2732, 250.0}, {7474, 2462.4460, -5958.0845, 10.1205, 0.0000, 0.0000, 4.4275, 250.0}, {8040, 2408.7773, -5910.5869, 10.9229, 0.0000, 0.0000, 4.5483, 250.0}, {5168, 2448.6777, -5975.3105, 16.2797, 0.0000, 0.0000, 5.4120, 250.0}, {8040, 2489.6348, -6006.6777, 10.9311, 0.0000, 0.0000, 95.7694, 250.0}, {7389, 2572.2029, -5970.4258, 11.3850, 0.0000, 0.0000, 6.1500, 250.0}, {3469, 2686.5313, -5711.4648, 13.2830, 0.0000, 0.0000, 273.6530, 250.0}, {9824, 2438.2971, -5886.4429, 13.1004, 0.0000, 0.0000, 94.4989, 250.0}, {9824, 2554.8188, -5921.3550, 13.1366, 0.0000, 0.0000, 94.4989, 250.0}, {9824, 2555.3274, -5927.6387, 13.1366, 0.0000, 0.0000, 274.5815, 250.0}, {10412, 2798.5256, -5780.5732, 37.2928, 0.0000, 0.0000, 258.3725, 250.0}, {10606, 2618.0071, -5933.3657, 18.9367, 0.0000, 0.0000, 276.3855, 250.0}, {13361, 2596.8079, -5820.2690, 17.0489, 0.0000, 0.0000, 186.0027, 250.0}, {16067, 2663.4509, -5783.7729, 10.1677, 0.0000, 0.0000, 186.6372, 250.0}, {16781, 2628.5259, -5883.2109, 10.1677, 0.0000, 0.0000, 275.6054, 250.0}, {8040, 2783.6824, -5926.3892, 10.8993, 0.0000, 0.0000, 186.0260, 250.0}, {9824, 2780.3708, -5893.1318, 13.0894, 0.0000, 0.0000, 94.4989, 250.0}, {9824, 2780.8206, -5899.4033, 13.0894, 0.0000, 0.0000, 274.4585, 250.0}, {17573, 2377.9541, -5771.9824, 11.8966, 0.0000, 0.0000, 93.2465, 250.0}, {17573, 2406.4258, -5770.2998, 11.8966, 0.0000, 0.0000, 93.2465, 250.0}, {13681, 2675.6782, -5906.0532, 14.8690, 0.0000, 0.0000, 276.1816, 250.0}, {12938, 2407.4609, -5845.2715, 14.0694, 0.0000, 0.0000, 275.8008, 250.0}, {10995, 2489.8879, -5848.0200, 17.5985, 0.0000, 0.0000, 5.5965, 250.0}, {9270, 2534.5552, -5831.3853, 16.3602, 0.0000, 0.0000, 4.5510, 250.0}, {7932, 2672.0535, -5867.8657, 13.0873, 0.0000, 0.0000, 4.9200, 250.0}, {7932, 2669.8645, -5843.9121, 13.1109, 0.0000, 0.0000, 4.9164, 250.0}, {7940, 2553.8706, -5892.8647, 13.0250, 0.0000, 0.0000, 185.8442, 250.0}, {6522, 2699.0740, -5957.9199, 18.7211, 0.0000, 0.0000, 275.1588, 250.0}, {7474, 2649.0469, -6023.5898, 10.0733, 0.0000, 0.0000, 4.4275, 250.0}, {7474, 2828.1719, -6009.1553, 10.0261, 0.0000, 0.0000, 4.4275, 250.0}, {4142, 2710.5916, -5998.2129, 10.1613, 0.0000, 0.0000, 95.7676, 250.0}, {7474, 2469.8008, -6037.8013, 10.0733, 0.0000, 0.0000, 4.4275, 250.0}, {3996, 2623.5874, -6047.1895, 10.2011, 0.0000, 0.0000, 5.7458, 250.0}, {6057, 2735.1008, -6057.0112, 14.4027, 0.0000, 0.0000, 6.0270, 250.0}, {6057, 2764.4189, -6022.5156, 14.4027, 0.0000, 0.0000, 95.4420, 250.0}, {6047, 2643.9131, -6006.2183, 18.6859, 0.0000, 0.0000, 5.6353, 250.0}, {5421, 2548.8203, -6067.2344, 13.4886, 0.0000, 0.0000, 4.5510, 250.0}, {5421, 2547.4458, -6047.2119, 13.4886, 0.0000, 0.0000, 4.5483, 250.0}, {5060, 2588.7441, -6079.0454, 12.9016, 0.0000, 0.0000, 185.3328, 250.0}, {3697, 2693.5393, -6061.3643, 14.5266, 0.0000, 0.0000, 6.8265, 250.0}, {3697, 2623.7778, -6070.3857, 14.5266, 0.0000, 0.0000, 6.8225, 250.0}, {3697, 2659.1548, -6065.6313, 14.5266, 0.0000, 0.0000, 6.8225, 250.0}, {11490, 2725.7129, -5875.0308, 10.0969, 0.0000, 0.0000, 184.6518, 250.0}, {11491, 2724.7974, -5864.0107, 11.5837, 0.0000, 0.0000, 184.5612, 250.0}, {3624, 2835.4119, -5859.3901, 14.7525, 0.0000, 0.0000, 95.8918, 250.0}, {3624, 2843.1956, -5940.1665, 14.7525, 0.0000, 0.0000, 275.9912, 250.0}, {3624, 2866.5437, -5855.9399, 14.7525, 0.0000, 0.0000, 95.8887, 250.0}, {3624, 2872.4241, -5937.3340, 14.7525, 0.0000, 0.0000, 275.9875, 250.0}, {3639, 2756.2747, -5837.4678, 14.5480, 0.0000, 0.0000, 185.7245, 250.0}, {3309, 2481.8682, -5801.7041, 11.5732, 0.0000, 0.0000, 185.3490, 250.0}, {3310, 2537.0867, -5795.8599, 12.2577, 0.0000, 0.0000, 185.3522, 250.0}, {4019, 2879.2656, -5974.3408, -31.0665, 0.0000, 0.0000, 95.6030, 250.0}, {4019, 2870.1816, -5841.8604, -31.0453, 0.0000, 0.0000, 4.6692, 250.0}, {4019, 2874.6758, -5908.1533, -31.0146, 0.0000, 0.0000, 4.6692, 250.0}, {3578, 2904.8767, -5861.1299, 10.8749, 0.0000, 0.0000, 275.2980, 250.0}, {3578, 2904.3350, -5840.7886, 10.7779, 0.0000, 0.0000, 275.2954, 250.0}, {3578, 2911.2119, -5939.0244, 10.8513, 0.0000, 0.0000, 275.2954, 250.0}, {3578, 2909.8074, -5921.0444, 10.8513, 0.0000, 0.0000, 275.2954, 250.0}, {3620, 2915.4646, -5928.5332, 23.1687, 0.0000, 0.0000, 96.2835, 250.0}, {3620, 2910.7109, -5850.6563, 23.1923, 0.0000, 0.0000, 96.2787, 250.0}, {10831, 2898.7351, -5977.4629, 14.9969, 0.0000, 0.0000, 183.7531, 250.0}, {10830, 2874.2532, -5747.8115, 18.3742, 0.0000, 0.0000, 321.3163, 250.0}, {5167, 2948.4275, -5982.7783, 10.2101, 0.0000, 0.0000, 94.5000, 250.0}, {5160, 2949.3315, -5874.5957, 8.2036, 0.0000, 0.0000, 93.4124, 250.0}, {5166, 2949.3296, -5874.5649, 8.2057, 0.0000, 0.0000, 93.2506, 250.0}, {5156, 2945.0203, -5930.4053, 13.9072, 0.0000, 0.0000, 93.8657, 250.0}, {5155, 2949.6714, -5991.1919, 24.0772, 0.0000, 0.0000, 96.7755, 250.0}, {5157, 2938.2419, -5822.0127, 20.0037, 0.0000, 0.0000, 92.6194, 250.0}, {5154, 2951.0508, -5905.5801, 18.9542, 0.0000, 0.0000, 4.5510, 250.0}, {5154, 2934.4766, -5906.5869, 18.9627, 0.0000, 0.0000, 4.5510, 250.0}, {3406, 2913.7161, -5902.9292, 10.4012, 0.0000, 344.4404, 0.0000, 250.0}, {3406, 2922.1580, -5902.9658, 12.5919, 0.0000, 346.3452, 0.0000, 250.0}, {3406, 2905.0991, -5902.8726, 8.5116, 0.0000, 352.0639, 0.0000, 250.0}, {822, 2623.2495, -5696.0933, 13.4003, 0.0000, 0.0000, 0.0000, 250.0}, {822, 2622.9658, -5691.5762, 13.5464, 0.0000, 0.0000, 0.0000, 250.0}, {822, 2622.8945, -5687.3760, 13.6371, 0.0000, 0.0000, 0.0000, 250.0}, {822, 2622.1025, -5683.6450, 13.5949, 0.0000, 0.0000, 0.0000, 250.0}, {822, 2619.6531, -5686.7495, 14.5701, 0.0000, 0.0000, 0.0000, 250.0}, {822, 2620.0996, -5696.2095, 13.7348, 0.0000, 0.0000, 0.0000, 250.0}, {822, 2618.2312, -5691.9160, 14.4990, 0.0000, 0.0000, 0.0000, 250.0}, {822, 2627.7651, -5688.7666, 13.9440, 0.0000, 0.0000, 0.0000, 250.0}, {822, 2628.0513, -5691.8120, 13.8513, 0.0000, 0.0000, 0.0000, 250.0}, {822, 2626.2957, -5684.7178, 13.8374, 0.0000, 0.0000, 0.0000, 250.0}, {822, 2625.8850, -5694.4727, 13.6214, 0.0000, 0.0000, 0.0000, 250.0}, {618, 2705.6006, -5812.7905, 10.1205, 0.0000, 0.0000, 0.0000, 250.0}, {618, 2755.9565, -5807.2065, 10.1441, 0.0000, 0.0000, 0.0000, 250.0}, {618, 2787.0034, -5845.0063, 10.3422, 0.0000, 0.0000, 0.0000, 250.0}, {618, 2741.9536, -5918.6611, 10.0969, 0.0000, 0.0000, 0.0000, 250.0}, {618, 2664.2910, -5928.7554, 10.1205, 0.0000, 0.0000, 0.0000, 250.0}, {618, 2733.0464, -6026.3545, 10.5829, 0.0000, 0.0000, 0.0000, 250.0}, {618, 2758.4897, -6045.6753, 10.0261, 0.0000, 0.0000, 0.0000, 250.0}, {618, 2681.4536, -6029.0454, 10.0733, 0.0000, 0.0000, 0.0000, 250.0}, {618, 2599.8345, -6038.5337, 10.0733, 0.0000, 0.0000, 0.0000, 250.0}, {618, 2532.9502, -6038.0117, 10.0733, 0.0000, 0.0000, 0.0000, 250.0}, {618, 2505.0383, -5967.3203, 10.1205, 0.0000, 0.0000, 0.0000, 250.0}, {618, 2537.8687, -5963.5513, 10.1205, 0.0000, 0.0000, 0.0000, 250.0}, {618, 2479.5647, -5889.3843, 10.1079, 0.0000, 0.0000, 0.0000, 250.0}, {618, 2455.2000, -5869.3496, 10.1079, 0.0000, 0.0000, 0.0000, 250.0}, {618, 2447.8596, -5790.1069, 10.1079, 0.0000, 0.0000, 0.0000, 250.0}, {5812, 2433.6404, -5742.4302, 10.3605, 0.0000, 0.0000, 4.5510, 250.0}, {4867, 2258.4727, -5820.6431, 10.0814, 0.0000, 0.0000, 4.6125, 250.0}, {4832, 2327.6211, -5879.0054, 50.4507, 0.0000, 0.0000, 0.0000, 250.0}, {9241, 2187.9995, -5876.3462, 11.6156, 0.0000, 0.0000, 272.1368, 250.0}, {9241, 2248.3760, -5870.0190, 11.6156, 0.0000, 0.0000, 275.2966, 250.0}, {4867, 2046.3115, -5837.7539, 10.0814, 0.0000, 0.0000, 4.6088, 250.0}, {10352, 2025.9287, -5659.0371, 9.0976, 357.7846, 358.4558, 273.1497, 250.0}, {7950, 1887.6526, -5723.7681, 1.1618, 2.6551, 0.1164, 90.1334, 250.0}, {7950, 2272.1921, -5713.0005, 16.7245, 359.8677, 271.9294, 143.1033, 250.0}, {7950, 2089.4736, -5725.6621, 21.2773, 0.0385, 269.4728, 142.8552, 250.0}, {7950, 2185.3066, -5720.6904, 20.6359, 0.0385, 269.4728, 142.8552, 250.0}, {4019, 2409.4277, -5991.3633, -31.0822, 0.0000, 0.0000, 95.6030, 250.0}, {4019, 2416.2495, -6055.7217, -31.2606, 0.0000, 0.0000, 95.6030, 250.0}, {7505, 2362.9124, -5800.1563, 11.6607, 0.0000, 0.0000, 274.1942, 250.0}, {8251, 2281.4626, -5888.0010, 14.0092, 0.0000, 0.0000, 95.5714, 250.0}, {910, 2293.5803, -5874.3926, 11.3506, 0.0000, 0.0000, 97.8470, 250.0}, {3035, 2294.4719, -5880.1338, 10.8516, 0.0000, 0.0000, 273.0224, 250.0}, {2971, 2293.4741, -5897.7334, 10.0814, 0.0000, 0.0000, 0.0000, 250.0}, {2971, 2290.9009, -5898.1230, 10.0814, 0.0000, 0.0000, 316.7654, 250.0}, {2971, 2293.0334, -5894.7275, 10.0814, 0.0000, 0.0000, 229.7858, 250.0}, {1225, 2272.5029, -5900.8623, 10.4872, 0.0000, 0.0000, 0.0000, 250.0}, {1225, 2270.9578, -5900.4336, 10.4872, 0.0000, 0.0000, 0.0000, 250.0}, {1225, 2271.7930, -5899.9229, 10.4872, 0.0000, 0.0000, 0.0000, 250.0}, {1225, 2273.4329, -5900.7095, 10.4872, 0.0000, 0.0000, 0.0000, 250.0}, {1225, 2272.8052, -5899.8447, 10.4872, 0.0000, 0.0000, 0.0000, 250.0}, {4019, 2882.9417, -6037.9883, -31.3394, 0.0000, 0.0000, 94.1270, 250.0}, {4842, 1924.7943, -5720.1489, 0.2415, 0.0000, 0.0000, 272.4495, 250.0}, {4842, 2220.8169, -5924.1484, 0.5406, 0.0000, 0.0000, 4.5366, 250.0}, {7950, 2001.0557, -5731.4834, 22.8293, 0.0385, 269.4728, 142.8552, 250.0}, {7950, 1887.2184, -5723.9473, 10.4135, 2.6532, 0.1154, 90.1318, 250.0}, {4842, 2003.2822, -5951.6343, 0.5247, 0.0000, 0.0000, 4.6692, 250.0}, {4842, 2441.1868, -6121.2617, 0.7870, 0.0000, 0.0000, 4.6740, 250.0}, {4842, 2114.0098, -5941.6802, 0.4782, 0.0000, 0.0000, 8.7754, 250.0}, {4019, 2403.4546, -5932.4448, -31.0033, 0.0000, 0.0000, 95.6030, 250.0}, {4842, 2357.9648, -5889.1855, 0.7350, 0.0000, 0.0000, 273.3672, 250.0}, {4842, 2541.2827, -6115.6602, 0.4300, 0.0000, 0.0000, 5.6532, 250.0}, {4842, 2765.9419, -6024.5015, 0.2623, 0.0000, 0.0000, 98.9484, 250.0}, {4019, 2814.9385, -6043.1167, -31.1237, 0.0000, 0.0000, 95.6030, 250.0}, {4019, 2758.0181, -6048.5757, -31.1927, 0.0000, 0.0000, 95.6030, 250.0}, {4867, 2116.5288, -5838.0552, 9.8191, 0.0000, 0.0000, 4.6088, 250.0}, {4019, 2866.3037, -5771.3857, -30.9064, 0.0000, 0.0000, 4.6692, 250.0}, {4019, 2860.7227, -5705.7695, -30.9212, 0.0000, 0.0000, 4.6692, 250.0}, {17026, 1874.6270, -5623.6270, 0.0000, 0.0000, 0.0000, 147.5347, 250.0}, {17026, 1876.2483, -5666.8110, 0.0000, 0.0000, 0.0000, 147.5299, 250.0}, {17026, 1882.3867, -5700.5986, 0.0000, 0.0000, 0.0000, 147.5299, 250.0}, {17026, 1867.8073, -5696.2046, -0.7368, 3.6438, 336.0281, 141.1750, 250.0}, {17026, 1847.9161, -5660.2275, 0.0000, 0.0000, 0.0000, 147.5299, 250.0}, {17026, 1828.6223, -5626.2979, -6.4549, 0.0000, 332.0929, 147.5299, 250.0}, {17026, 1914.9604, -5739.4087, -0.6451, 352.1041, 8.0503, 212.2332, 250.0}, {17026, 1811.1868, -5689.0078, -6.9514, 3.8331, 344.0164, 148.6268, 250.0}, {17026, 1831.7107, -5667.0073, -4.8701, 14.9684, 339.3348, 153.0940, 250.0}, {17026, 1849.3955, -5618.3218, 0.0000, 0.0000, 0.0000, 147.5299, 250.0}, {17026, 2846.8792, -5628.9609, 0.0000, 0.0000, 0.0000, 322.6717, 250.0}, {17026, 1811.8535, -5633.2676, -7.4480, 3.8287, 344.0149, 148.6230, 250.0}, {17026, 1805.9873, -5655.7817, -13.2567, 3.8287, 344.0149, 148.6230, 250.0}, {17026, 1817.9850, -5591.8599, -10.4851, 3.9001, 348.0116, 80.8829, 250.0}, {17026, 1849.3955, -5618.3213, 0.0000, 0.0000, 0.0000, 147.5299, 250.0}, {17026, 1865.6857, -5670.3325, 0.2893, 0.0000, 336.0796, 147.5299, 250.0}, {17026, 1858.0098, -5701.4902, 0.0000, 0.0000, 0.0000, 147.5299, 250.0}, {17026, 1830.4951, -5706.6260, -9.9306, 0.0000, 320.1306, 147.5299, 250.0}, {3463, 2778.8884, -5926.9863, 10.3055, 0.0000, 0.0000, 276.2786, 250.0}, {3463, 2802.8496, -5924.4189, 10.3055, 0.0000, 0.0000, 276.2732, 250.0}, {3463, 2765.6990, -5928.1709, 10.3055, 0.0000, 0.0000, 276.2732, 250.0}, {3463, 2391.0237, -5912.0308, 10.3291, 0.0000, 0.0000, 276.2732, 250.0}, {3463, 2410.2185, -5910.2427, 10.3291, 0.0000, 0.0000, 276.2732, 250.0}, {3463, 2428.9424, -5909.1182, 10.3368, 0.0000, 0.0000, 276.2732, 250.0}, {3463, 2482.2917, -5765.7358, 10.4448, 0.0000, 0.0000, 276.2732, 250.0}, {3463, 2496.4673, -5765.2856, 10.4448, 0.0000, 0.0000, 276.2732, 250.0}, {3463, 2519.2219, -5763.0601, 10.4448, 0.0000, 0.0000, 276.2732, 250.0}, {3463, 2479.8479, -5731.8599, 10.4554, 0.0000, 0.0000, 276.2732, 250.0}, {3463, 2494.5039, -5730.3896, 10.4554, 0.0000, 0.0000, 276.2732, 250.0}, {3463, 2518.9358, -5727.9873, 10.4554, 0.0000, 0.0000, 276.2732, 250.0}, {3463, 2595.4275, -5735.4443, 10.8321, 0.0000, 0.0000, 276.2732, 250.0}, {3463, 2597.7375, -5713.7700, 10.8994, 0.0000, 0.0000, 276.2732, 250.0}, {3463, 2560.3430, -5739.2969, 10.5812, 0.0000, 0.0000, 276.2732, 250.0}, {3463, 2560.1013, -5739.3037, 10.9479, 0.0000, 0.0000, 184.5783, 250.0}, {3463, 2901.1365, -5890.8042, 10.0969, 0.0000, 0.0000, 276.2732, 250.0}, {3463, 2902.0505, -5918.1274, 10.0733, 0.0000, 0.0000, 276.2732, 250.0}, {3463, 2826.2388, -5886.6714, 10.0969, 0.0000, 0.0000, 276.2732, 250.0}, {3463, 2827.1289, -5907.8096, 10.0969, 0.0000, 0.0000, 276.2732, 250.0}, {3463, 2491.0352, -6025.4058, 10.3374, 0.0000, 0.0000, 184.5758, 250.0}, {3463, 2489.3545, -6004.7983, 10.3374, 0.0000, 0.0000, 184.5758, 250.0}, {3463, 2487.5500, -5987.5117, 10.3374, 0.0000, 0.0000, 184.5758, 250.0}, {3463, 2695.5107, -5721.4868, 10.1677, 0.0000, 0.0000, 184.5758, 250.0}, {3463, 2697.9690, -5743.4844, 10.1677, 0.0000, 0.0000, 184.5758, 250.0}, {3463, 2700.7217, -5769.2915, 10.1677, 0.0000, 0.0000, 184.5758, 250.0}, {3460, 2621.8352, -5732.8809, 14.4363, 0.0000, 0.0000, 0.0000, 250.0}, {3460, 2627.1519, -5764.7798, 14.4363, 0.0000, 0.0000, 0.0000, 250.0}, {3460, 2645.0129, -5721.7095, 14.4440, 0.0000, 0.0000, 0.0000, 250.0}, {3460, 2695.1807, -5830.3975, 14.4060, 0.0000, 0.0000, 0.0000, 250.0}, {3460, 2726.5310, -5827.1890, 14.4060, 0.0000, 0.0000, 0.0000, 250.0}, {3460, 2733.6475, -6041.1147, 14.3116, 0.0000, 0.0000, 0.0000, 250.0}, {3460, 2702.9658, -6042.1270, 14.3116, 0.0000, 0.0000, 0.0000, 250.0}, {3460, 2662.8647, -6047.4683, 14.3436, 0.0000, 0.0000, 0.0000, 250.0}, {3460, 2621.2673, -6051.2407, 14.3514, 0.0000, 0.0000, 0.0000, 250.0}, {3460, 2498.1672, -5880.0288, 14.3824, 0.0000, 0.0000, 0.0000, 250.0}, {3460, 2535.0610, -5875.9067, 14.3824, 0.0000, 0.0000, 0.0000, 250.0}, {3460, 2564.1001, -5872.8823, 14.3824, 0.0000, 0.0000, 0.0000, 250.0}, {3460, 2587.8271, -5870.0786, 14.3824, 0.0000, 0.0000, 0.0000, 250.0}, {3460, 2626.7451, -5866.2080, 14.3824, 0.0000, 0.0000, 0.0000, 250.0}, {3460, 2577.2593, -5852.7510, 14.5700, 0.0000, 0.0000, 0.0000, 250.0}, {3460, 2603.3926, -5849.0532, 14.4060, 0.0000, 0.0000, 0.0000, 250.0}, {3460, 2633.6514, -5845.8560, 14.4060, 0.0000, 0.0000, 0.0000, 250.0}, {3460, 2652.6389, -5768.3271, 14.6082, 0.0000, 0.0000, 0.0000, 250.0}, {1315, 2691.0151, -5815.7876, 13.6506, 0.0000, 0.0000, 182.9652, 250.0}, {1315, 2772.6445, -5828.9067, 13.4544, 0.0000, 0.0000, 182.9608, 250.0}, {1315, 2732.8091, -5944.1929, 13.4072, 0.0000, 0.0000, 182.9608, 250.0}, {1315, 2740.4492, -6023.7881, 13.3601, 0.0000, 0.0000, 182.9608, 250.0}, {1315, 2625.3169, -6037.4038, 13.3921, 0.0000, 0.0000, 182.9608, 250.0}, {1315, 2471.5020, -5949.3950, 13.4308, 0.0000, 0.0000, 182.9608, 250.0}, {1315, 2464.9580, -5889.4863, 13.4308, 0.0000, 0.0000, 182.9608, 250.0}, {1315, 2457.4666, -5812.9028, 13.4308, 0.0000, 0.0000, 182.9608, 250.0}, {1315, 2486.8320, -5954.6826, 13.4308, 0.0000, 0.0000, 99.2393, 250.0}, {1315, 2477.1768, -5875.2402, 13.5949, 0.0000, 0.0000, 99.2340, 250.0}, {1315, 2564.3215, -5946.5503, 13.4308, 0.0000, 0.0000, 99.2340, 250.0}, {1315, 2574.8677, -5843.8511, 13.4544, 0.0000, 0.0000, 99.2340, 250.0}, {1315, 2576.9082, -5864.5825, 13.4308, 0.0000, 0.0000, 99.2340, 250.0}, {1315, 2634.8877, -5858.6787, 13.4308, 0.0000, 0.0000, 99.2340, 250.0}, {1315, 2660.6548, -5932.7197, 13.5713, 0.0000, 0.0000, 99.2340, 250.0}, {1315, 2650.7012, -5930.5688, 13.5713, 0.0000, 0.0000, 190.9289, 250.0}, {1315, 2644.0867, -5869.8696, 13.4308, 0.0000, 0.0000, 190.9259, 250.0}, {1315, 2560.7405, -5838.5264, 13.4544, 0.0000, 0.0000, 190.9259, 250.0}, {1315, 2683.9099, -5746.7046, 13.4865, 0.0000, 0.0000, 182.9524, 250.0}, {1315, 2641.7402, -5850.7861, 13.4544, 0.0000, 0.0000, 182.9498, 250.0}, {1315, 2685.2649, -5766.6699, 13.4865, 0.0000, 0.0000, 182.9498, 250.0}, {1315, 2703.8386, -5821.9316, 13.4544, 0.0000, 0.0000, 99.2340, 250.0}, {1315, 2763.0737, -5817.1118, 13.4544, 0.0000, 0.0000, 99.2340, 250.0}, {1315, 2678.5059, -5753.4170, 13.4865, 0.0000, 0.0000, 99.2340, 250.0}, {1315, 2599.7727, -5715.7354, 13.5894, 0.0000, 0.0000, 99.2340, 250.0}, {1315, 2557.4854, -5873.1240, 13.4308, 0.0000, 0.0000, 276.1442, 250.0}, {1315, 2600.2510, -5732.6582, 13.6577, 0.0000, 0.0000, 276.1414, 250.0}, {1315, 2552.3228, -5958.5210, 13.5949, 0.0000, 0.0000, 184.4464, 250.0}, {1238, 2592.9021, -5942.1689, 10.4623, 0.0000, 0.0000, 0.0000, 250.0}, {1238, 2593.0168, -5942.9644, 10.4623, 0.0000, 0.0000, 0.0000, 250.0}, {1238, 2593.0740, -5943.8193, 10.4623, 0.0000, 0.0000, 0.0000, 250.0}, {1238, 2592.1838, -5943.5479, 10.4623, 0.0000, 0.0000, 0.0000, 250.0}, {1238, 2590.6868, -5942.5303, 10.4623, 0.0000, 0.0000, 0.0000, 250.0}, {1238, 2591.8591, -5942.6528, 10.4623, 0.0000, 0.0000, 0.0000, 250.0}, {1238, 2591.1968, -5943.4263, 10.4623, 0.0000, 0.0000, 0.0000, 250.0}, {1215, 2540.7773, -5743.0854, 10.9348, 0.0000, 0.0000, 0.0000, 250.0}, {1215, 2538.3865, -5711.5225, 10.7792, 0.0000, 0.0000, 0.0000, 250.0}, {1215, 2595.1821, -5707.6631, 10.7792, 0.0000, 0.0000, 0.0000, 250.0}, {1215, 2562.4753, -5737.7939, 10.7792, 0.0000, 0.0000, 0.0000, 250.0}, {1215, 2597.1150, -5764.3403, 11.0917, 0.0000, 0.0000, 0.0000, 250.0}, {1215, 2564.3787, -5775.9941, 11.0917, 0.0000, 0.0000, 0.0000, 250.0}, {1215, 2550.7854, -5777.4595, 11.0917, 0.0000, 0.0000, 0.0000, 250.0}, {1215, 2598.0510, -5735.8970, 10.7320, 0.0000, 0.0000, 0.0000, 250.0}, {5463, 2514.0974, -5913.2905, 37.0635, 0.0000, 0.0000, 3.9867, 250.0}, {5463, 2514.1353, -5913.1729, 71.9202, 0.0000, 0.0000, 3.9825, 250.0}, {5644, 2513.3208, -5913.7920, 30.0675, 0.0000, 0.0000, 3.9866, 250.0}, {17026, 1860.6719, -5635.6846, -0.5413, 0.0000, 0.0000, 147.5299, 250.0}, {17026, 2843.1689, -5669.5947, 3.4757, 0.0000, 0.0000, 322.6685, 250.0}, {17026, 2841.8262, -5590.4741, 0.0000, 0.0000, 0.0000, 322.6685, 250.0}, {17026, 2894.5095, -5656.3569, 0.0000, 0.0000, 0.0000, 322.6685, 250.0}, {17026, 2868.2747, -5639.7271, -3.4757, 0.0000, 356.0133, 62.3368, 250.0}, {13295, 2894.9097, -6059.1821, 16.6262, 0.0000, 0.0000, 4.4727, 250.0}, {6976, 2876.7715, -6077.7280, 1.2429, 0.0000, 0.0000, 185.0082, 250.0}, {3406, 2876.9521, -6081.7661, 0.0000, 0.0000, 0.0000, 273.7498, 250.0}, {3406, 2877.5208, -6090.5386, 0.0000, 0.0000, 0.0000, 273.7463, 250.0}, {3406, 2878.0569, -6099.2964, 0.0000, 0.0000, 0.0000, 273.7463, 250.0}, {3406, 2889.4280, -6081.2026, 0.0000, 0.0000, 0.0000, 273.7463, 250.0}, {3406, 2890.0085, -6089.9399, 0.0000, 0.0000, 0.0000, 273.7463, 250.0}, {3406, 2890.6018, -6098.6812, 0.0000, 0.0000, 0.0000, 273.7463, 250.0}, {3406, 2883.2336, -6077.6665, 0.0000, 0.9720, 0.0000, 183.9953, 250.0}, {3406, 2879.6318, -6077.8384, 0.0496, 0.9668, 0.0000, 183.9935, 250.0}, {4017, 2864.5237, -6044.3193, 23.6676, 0.0000, 0.0000, 4.8600, 250.0} }; enum player_info { objid[sizeof(Objects)], bool:view[sizeof(Objects)] } new Player[MAX_PLAYERS][player_info]; //------------------------------------------------------------------------------ bool:IsInReach(Float:x,Float:y,Float:z,Float:x2,Float:y2,Float:z2,Float:dist) { x = (x > x2) ? x - x2 : x2 - x; if(x > dist) return false; y = (y > y2) ? y - y2 : y2 - y; if(y > dist) return false; z = (z > z2) ? z - z2 : z2 - z; if(z > dist) return false; return true; } //------------------------------------------------------------------------------ new timer; public OnFilterScriptInit() { print("---\nLoaded xObjects by Boylett\n---"); timer = SetTimer("Timer",500,1); AddStaticVehicle(577,2123.5645,-5775.3257,11.0324,185.0360,-1,-1); // AT400 AddStaticVehicle(485,2147.4089,-5786.6064,10.7394,186.5569,-1,-1); // Baggage AddStaticVehicle(608,2146.9673,-5781.9526,11.6273,180.9919,-1,-1); // Baggage Stairs AddStaticVehicle(519,2345.2544,-5732.2603,12.0000,97.5396,-1,-1); // Shamal AddStaticVehicle(519,2349.6907,-5765.7798,12.0147,97.5359,-1,-1); // Shamal AddStaticVehicle(487,2248.0215,-5871.4546,13.6208,5.1111,-1,-1); // Maverick1 AddStaticVehicle(487,2187.3948,-5874.8086,13.6204,0.5543,-1,-1); // Maverick2 AddStaticVehicle(514,2314.2893,-5852.9194,11.6748,93.3029,-1,-1); // Tanker for citern AddStaticVehicle(584,2326.7134,-5851.6636,12.2177,94.6202,-1,-1); // Petrol Trailer with tanker AddStaticVehicle(584,2327.2083,-5857.6489,12.2358,94.6227,-1,-1); // Petrol Trailer with tanker2 AddStaticVehicle(525,2285.9377,-5894.2603,10.9751,4.3095,-1,-1); // TowTruck1 AddStaticVehicle(525,2281.7429,-5896.4619,10.9697,4.0658,-1,-1); // TowTruck2 AddStaticVehicle(525,2276.5068,-5897.7437,10.9654,8.5969,-1,-1); // TowTruck3 AddStaticVehicle(600,2381.6423,-5780.7988,10.8538,277.1341,-1,-1); // Picador1 AddStaticVehicle(600,2426.4072,-5905.3447,10.8688,6.3840,-1,-1); // Picador2 AddStaticVehicle(600,2672.4978,-5859.8999,11.4757,95.5088,-1,-1); // Picador3 AddStaticVehicle(600,2796.1543,-5940.0313,10.8512,6.0514,-1,-1); // Picador4 AddStaticVehicle(466,2767.6086,-5913.2417,10.8757,188.6781,-1,-1); // Glendale1 AddStaticVehicle(466,2472.7415,-5983.8286,10.9073,274.7334,-1,-1); // Glendale2 AddStaticVehicle(466,2396.4836,-5834.8989,10.8498,96.1851,-1,-1); // Glendale3 AddStaticVehicle(492,2417.5718,-5777.8682,10.8898,186.9873,-1,-1); // Greenwood1 AddStaticVehicle(492,2485.4177,-5769.8550,11.0547,187.1823,-1,-1); // Greenwood2 AddStaticVehicle(492,2543.4966,-5736.6289,10.9890,97.1859,-1,-1); // Greenwood3 AddStaticVehicle(492,2786.3647,-5940.7832,10.9156,185.5139,-1,-1); // Greenwood4 AddStaticVehicle(492,2670.3501,-5836.2471,11.5646,94.5793,-1,-1); // Greenwood5 AddStaticVehicle(560,2477.0071,-5781.9341,10.9843,4.4330,-1,-1); // Sultan1 AddStaticVehicle(560,2475.7231,-5795.8374,12.0229,94.3826,-1,-1); // Sultan2 AddStaticVehicle(560,2372.7771,-5919.0723,10.8626,274.5359,-1,-1); // Sultan3 AddStaticVehicle(412,2431.0432,-5923.8398,10.9944,185.6612,-1,-1); // Voodoo1 AddStaticVehicle(412,2487.0300,-6043.5752,11.0010,185.4863,-1,-1); // Voodoo2 AddStaticVehicle(412,2589.4355,-5925.0815,10.9821,5.1086,-1,-1); // Voodoo3 AddStaticVehicle(412,2544.8066,-5880.4873,10.9968,357.1997,-1,-1); // Voodoo5 AddStaticVehicle(463,2560.6843,-5881.1240,10.6981,279.8892,-1,-1); // Freeway1 AddStaticVehicle(463,2660.9246,-5857.6733,10.9812,97.6258,-1,-1); // Freeway2 AddStaticVehicle(463,2692.9148,-5985.5117,10.6605,281.2110,-1,-1); // Freeway3 AddStaticVehicle(521,2776.3142,-5910.8838,10.7000,4.2920,-1,-1); // FCR1 AddStaticVehicle(521,2698.7490,-5715.1294,10.7370,108.9057,-1,-1); // FCR2 AddStaticVehicle(521,2881.6050,-5866.2305,10.6655,2.7956,-1,-1); // FCR3 AddStaticVehicle(530,2881.3518,-5860.6011,10.8578,274.8217,-1,-1); // Forklift1 AddStaticVehicle(530,2862.0576,-5922.7744,10.8354,3.2414,-1,-1); // Forklift2 AddStaticVehicle(530,2864.4961,-5851.0205,10.8569,185.0517,-1,-1); // Forklift3 AddStaticVehicle(461,2900.2944,-5982.3403,10.6507,4.8329,-1,-1); // PCJ1 AddStaticVehicle(461,2752.2688,-6024.5381,10.8400,188.6137,-1,-1); // PCJ2 AddStaticVehicle(461,2630.7446,-5927.5273,10.7402,95.2658,-1,-1); // PCJ3 AddStaticVehicle(461,2554.9553,-5905.0225,10.7428,100.8137,-1,-1); // PCJ4 AddStaticVehicle(461,2484.6460,-5830.7734,10.7009,275.5718,-1,-1); // PCJ5 AddStaticVehicle(522,2505.6912,-5845.5459,10.7071,185.7788,-1,-1); // NRG1 AddStaticVehicle(522,2380.9541,-5928.6104,10.7307,183.8850,-1,-1); // NRG2 AddStaticVehicle(522,2451.7402,-5996.8970,10.7817,185.7935,-1,-1); // NRG3 AddStaticVehicle(550,2439.4358,-5997.7212,11.0337,5.4360,-1,-1); // Sunrise1 AddStaticVehicle(550,2501.1594,-5974.6626,10.9856,274.7313,-1,-1); // Sunrise2 AddStaticVehicle(550,2512.6875,-5911.2446,10.9667,0.9136,-1,-1); // Sunrise3 AddStaticVehicle(550,2594.3091,-5919.7549,10.9927,6.9462,-1,-1); // Sunrise4 AddStaticVehicle(550,2600.9932,-5928.5063,10.9863,281.2594,-1,-1); // Sunrise4 AddStaticVehicle(550,2771.6587,-5923.7529,10.9521,188.4328,-1,-1); // Sunrise5 AddStaticVehicle(496,2776.9553,-5942.7036,10.8482,9.1344,-1,-1); // Blista1 AddStaticVehicle(496,2695.9709,-5924.7881,10.8395,94.9115,-1,-1); // Blista2 AddStaticVehicle(496,2631.2908,-5920.3018,10.8880,97.9393,-1,-1); // Blista3 AddStaticVehicle(496,2568.4666,-5909.8359,10.8608,275.6394,-1,-1); // Blista4 AddStaticVehicle(496,2573.4526,-5809.4199,10.9026,94.9212,-1,-1); // Blista5 AddStaticVehicle(496,2536.8774,-5802.8906,10.9351,94.0963,-1,-1); // Blista6 AddStaticVehicle(496,2520.4460,-5767.2827,10.9887,4.2798,-1,-1); // Blista7 AddStaticVehicle(415,2516.9209,-5759.4956,11.0434,2.7443,-1,-1); // Cheetah1 AddStaticVehicle(415,2546.6165,-5773.8652,10.9777,93.0183,-1,-1); // Cheetah2 AddStaticVehicle(415,2493.2876,-5715.3848,11.0574,182.2818,-1,-1); // Cheetah3 AddStaticVehicle(415,2698.2234,-5722.7563,10.9384,96.9742,-1,-1); // Cheetah4 AddStaticVehicle(415,2746.0217,-5837.2759,10.9157,186.5649,-1,-1); // Cheetah5 AddStaticVehicle(402,2820.7314,-5870.2915,10.9287,98.8567,-1,-1); // Buffalo1 AddStaticVehicle(402,2707.6318,-5881.5435,10.9523,92.3839,-1,-1); // Buffalo2 AddStaticVehicle(402,2486.9604,-6043.3101,10.9970,185.0022,-1,-1); // Buffalo3 AddStaticVehicle(402,2484.8748,-5761.3882,11.1047,185.2473,-1,-1); // Buffalo4 AddStaticVehicle(402,2772.0129,-5774.6743,10.9758,136.6342,-1,-1); // Buffalo5 AddStaticVehicle(514,2687.2502,-5849.0137,11.7079,5.6097,-1,-1); // Tanker1 AddStaticVehicle(514,2672.6001,-5731.8672,11.7558,5.0036,-1,-1); // Tanker2 AddStaticVehicle(514,2876.1448,-5939.1387,11.6670,7.1578,-1,-1); // Tanker3 AddStaticVehicle(584,2884.9897,-5917.3389,12.2167,359.9862,-1,-1); // TrailerXoomer1 AddStaticVehicle(584,2625.6309,-5806.4722,12.2975,189.3175,-1,-1); // TrailerXoomer2 AddStaticVehicle(584,2510.9607,-6003.7959,12.2522,189.4597,-1,-1); // TrailerXoomer3 AddStaticVehicle(435,2509.3169,-5992.7075,11.7728,4.7363,-1,-1); // ArticTrailer1 AddStaticVehicle(435,2503.0405,-5808.1074,11.7874,4.8773,-1,-1); // ArticTrailer2 AddStaticVehicle(435,2368.3499,-5807.4395,11.7204,269.6961,-1,-1); // ArticTrailer3 AddStaticVehicle(435,2672.2122,-6005.5801,11.7602,2.0881,-1,-1); // ArticTrailer4 AddStaticVehicle(435,2458.8159,-5762.2544,11.7171,2.2636,-1,-1); // ArticTrailer5 AddStaticVehicle(435,2461.4238,-5777.8384,11.7652,182.2765,-1,-1); // ArticTrailer6 AddStaticVehicle(524,2816.1277,-5947.0137,12.0340,180.0163,-1,-1); // CementTruck1 AddStaticVehicle(524,2816.1421,-6028.0024,11.9197,0.0145,-1,-1); // CementTruck2 AddStaticVehicle(411,2450.0737,-5892.7725,10.8344,183.1048,-1,-1); // Infernus1 AddStaticVehicle(411,2465.1868,-5994.8120,10.9484,185.3569,-1,-1); // Infernus2 AddStaticVehicle(411,2501.6772,-5742.9424,11.0105,186.6807,-1,-1); // Infernus3 AddStaticVehicle(411,2540.1887,-5713.4692,10.9425,183.6947,-1,-1); // Infernus4 AddStaticVehicle(468,2505.5471,-5744.6401,10.9527,95.6141,-1,-1); // Sanchez1 AddStaticVehicle(468,2505.4023,-5743.1616,10.9686,95.6071,-1,-1); // Sanchez2 AddStaticVehicle(468,2616.8347,-5809.0591,10.8548,191.8606,-1,-1); // Sanchez3 AddStaticVehicle(468,2656.8003,-5870.4053,11.0129,187.0625,-1,-1); // Sanchez4 AddStaticVehicle(468,2815.0164,-5906.9038,10.8103,9.5400,-1,-1); // Sanchez5 AddStaticVehicle(468,2747.7900,-5843.3926,10.8126,16.7290,-1,-1); // Sanchez6 AddStaticVehicle(468,2749.8137,-5731.3052,10.8366,338.8126,-1,-1); // Sanchez7 AddStaticVehicle(468,2723.5417,-5721.1309,10.8356,91.0792,-1,-1); // Sanchez8 AddStaticVehicle(468,2707.1035,-5707.7593,10.8367,359.1694,-1,-1); // Sanchez9 AddStaticVehicle(468,2516.6406,-5767.8853,10.9416,4.8139,-1,-1); // Sanchez10 AddStaticVehicle(468,2554.6548,-5711.0059,10.8830,5.2936,-1,-1); // Sanchez11 AddStaticVehicle(468,2556.9475,-5710.7935,10.8832,5.2935,-1,-1); // Sanchez12 AddStaticVehicle(468,2558.6792,-5710.6323,10.8995,5.3011,-1,-1); // Sanchez13 AddStaticVehicle(468,2560.7253,-5710.4414,10.9092,5.2954,-1,-1); // Sanchez14 AddStaticVehicle(468,2563.3567,-5710.1978,10.9095,5.2954,-1,-1); // Sanchez15 AddStaticVehicle(468,2565.7598,-5709.9746,10.9098,5.2953,-1,-1); // Sanchez16 AddStaticVehicle(468,2569.2712,-5709.6494,10.9103,5.2952,-1,-1); // Sanchez17 AddStaticVehicle(468,2571.9607,-5709.4009,10.9107,5.2951,-1,-1); // Sanchez18 AddStaticVehicle(468,2574.3552,-5709.1797,10.9185,5.3046,-1,-1); // Sanchez19 AddStaticVehicle(468,2576.9541,-5708.9380,10.9245,5.3043,-1,-1); // Sanchez20 AddStaticVehicle(424,2592.9319,-5736.6587,10.9919,95.7428,-1,-1); // BF Injection1 AddStaticVehicle(424,2593.3120,-5740.4370,11.0134,95.7442,-1,-1); // BF Injection2 AddStaticVehicle(424,2593.7776,-5745.0723,11.0133,95.7443,-1,-1); // BF Injection3 AddStaticVehicle(424,2594.3247,-5750.5146,11.0295,95.7423,-1,-1); // BF Injection4 AddStaticVehicle(424,2594.4890,-5757.8999,11.0276,95.7440,-1,-1); // BF Injection5 AddStaticVehicle(424,2592.3352,-5763.4941,11.0236,52.9727,-1,-1); // BF Injection6 AddStaticVehicle(424,2586.9028,-5768.9541,11.0400,8.1708,-1,-1); // BF Injection7 AddStaticVehicle(424,2581.2234,-5770.3188,10.9987,8.2003,-1,-1); // BF Injection8 AddStaticVehicle(424,2574.3599,-5771.3081,10.9989,8.2009,-1,-1); // BF Injection9 AddStaticVehicle(424,2565.8286,-5771.9946,10.9921,8.1999,-1,-1); // BF Injection10 AddStaticVehicle(486,2489.9878,-5920.5005,11.3460,316.8163,1,1); // Dozer1 AddStaticVehicle(486,2506.1748,-5895.1514,11.3634,178.6336,1,1); // Dozer2 AddStaticVehicle(486,2511.4148,-5922.5210,11.3885,300.6996,1,1); // Dozer3 AddStaticVehicle(486,2483.6824,-5892.1816,11.3272,258.4172,1,1); // Dozer4 AddStaticVehicle(486,2534.5227,-5884.3262,11.3631,125.1809,1,1); // Dozer5 AddStaticVehicle(406,2497.8269,-5932.6353,12.6677,41.0723,1,1); // Dumper1 AddStaticVehicle(406,2492.8003,-5907.8447,12.6697,1.4192,1,1); // Dumper2 AddStaticVehicle(407,2833.3274,-6031.8452,11.2557,3.0971,3,1); // Firetruck1 AddStaticVehicle(407,2837.5198,-6031.6177,11.2601,3.0968,3,1); // Firetruck2 AddStaticVehicle(407,2843.1248,-6031.3145,11.2643,3.0971,3,1); // Firetruck3 AddStaticVehicle(407,2850.3970,-6030.9194,11.2684,3.0975,3,1); // Firetruck4 AddStaticVehicle(407,2850.8862,-6039.9556,11.2780,3.0968,3,1); // Firetruck5 return 1; } public OnFilterScriptExit() { for(new i = 0; i < MAX_PLAYERS; i++) { for(new o = 0; o < sizeof(Objects); o++) { if(Player[i][view][o]) { Player[i][view][o] = false; DestroyPlayerObject(i,Player[i][objid][o]); } } } KillTimer(timer); } public OnPlayerCommandText(playerid, cmdtext[]) { new cartype = GetPlayerVehicleID(playerid); new State = GetPlayerState(playerid); if(strcmp(cmdtext, "/NewCity", true) == 0) { SetPlayerInterior(playerid,0); { if(State!=PLAYER_STATE_DRIVER) { SetPlayerPos(playerid,2577.8132,-5743.4170,11.2149); } else if(IsPlayerInVehicle(playerid, cartype) == 1) { SetVehiclePos(cartype,2577.8132,-5743.4170,11.2149); SetVehicleZAngle(cartype,113.2594); } else { SetPlayerPos(playerid,2577.8132,-5743.4170,11.2149); } GameTextForPlayer(playerid,"Welcome to the New City",2500,3); } new string[256]; new name[MAX_PLAYER_NAME+1]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), "%s has joined New City, type /NewCity to join", name); SendClientMessageToAll(0xFFFF00FF,string); return 1; } if(strcmp(cmdtext, "/NewCityRes", true) == 0) { for(new v=0; v