/* 25/09/2006 - Checkpoints changed to GTAIII hidden packages, mode name changed from finditquick to Drug Hunt ~ Mt. Chiliad Edition 26/09/2006 - Gamemode completed. Bug testing started. 10:29 p.m - No stand out bugs. */ #include #define INACTIVE_COLOR 0x636363AA #define ACTIVE_COLOR 0xFFFFFFAA #define YELLOW 0xFFF333AA #define RED 0xE80202AA #define ORANGE 0xFF9C00AA // Options #define PACKAGE_SCORE 5 // Default 5. Score added to player for finding package. #define PACKAGE_MONEY 7500 // Default 5000. Money received from finding package. #define PACKAGES 30 // Default 30. Amount of packages to be generated out of 424. #define DEBUG 0 // Default off. 0 = Off | 1 = On #define EASY 0 // Default off. 0 = Off | 1 = On. This makes the mode easier by telling the playa when he enters the package area. #define EASY_RANGE 35.0 // Default 35.0. Distance away from package easy mode notification appears. Only works if EASY is set to 1. #define AMMO 100 // Default 100. Minimum ammo a player receives on spawn. #define ROUNDTIME 0 // Default 0. If 0 it means the players will keep playing until all packages are by one player. Otherwise players will play for the set time. // Debug new OBJECT = 0; // Used for admins to teleport to packages. // Tracking new ROUNDTIMER=ROUNDTIME; new FoundPackages[MAX_PLAYERS]; new FoundPackage[MAX_PLAYERS][PACKAGES]; new Float:PosP[PACKAGES][3]; new Float:gRandomPackage[424][3] = { {-2377.007000, -1635.072000, 490.571300}, {-2406.108000, -1611.787000, 514.431900}, {-2433.094000, -1665.901000, 446.053100}, {-2370.982000, -1697.298000, 473.266500}, {-2307.795000, -1726.256000, 478.849300}, {-2259.065000, -1741.626000, 487.515000}, {-2228.937000, -1741.239000, 480.881900}, {-2277.794000, -1669.248000, 474.850500}, {-2263.387000, -1683.235000, 459.541900}, {-2263.716000, -1583.221000, 438.040500}, {-2390.515000, -1516.272000, 433.043400}, {-2408.942000, -1539.612000, 450.492000}, {-2418.930000, -1582.015000, 473.965500}, {-2372.828000, -1602.468000, 498.691800}, {-2339.985000, -1557.797000, 478.619200}, {-2284.660000, -1755.016000, 458.432900}, {-2269.225000, -1773.181000, 447.908800}, {-2291.245000, -1810.322000, 435.211100}, {-2307.008000, -1839.283000, 409.341900}, {-2346.686000, -1849.009000, 432.469600}, {-2368.850000, -1839.807000, 440.658800}, {-2371.543000, -1861.913000, 412.211900}, {-2365.619000, -1897.344000, 407.964000}, {-2413.886000, -1876.488000, 385.230200}, {-2461.066000, -1850.232000, 390.808500}, {-2403.583000, -1842.941000, 412.915800}, {-2455.953000, -1823.929000, 406.773500}, {-2421.844000, -1794.235000, 418.501800}, {-2435.817000, -1755.730000, 428.640100}, {-2445.716000, -1798.862000, 411.134900}, {-2474.969000, -1766.245000, 416.216000}, {-2503.436000, -1785.185000, 394.496000}, {-2500.049000, -1734.846000, 411.366600}, {-2498.505000, -1660.663000, 418.715400}, {-2551.372000, -1727.661000, 391.323200}, {-2518.738000, -1801.167000, 378.690700}, {-2490.141000, -1833.955000, 379.663800}, {-2572.796000, -1765.615000, 355.668400}, {-2558.371000, -1644.645000, 370.275900}, {-2592.252000, -1600.009000, 344.296300}, {-2621.336000, -1667.299000, 326.866700}, {-2604.717000, -1710.490000, 325.777700}, {-2560.670000, -1823.147000, 314.926000}, {-2491.292000, -1917.413000, 298.982700}, {-2459.122000, -1895.303000, 308.423000}, {-2431.883000, -1886.070000, 321.755400}, {-2423.475000, -1934.351000, 303.878700}, {-2407.998000, -1967.527000, 303.132200}, {-2330.110000, -1965.411000, 298.165200}, {-2325.705000, -1943.547000, 293.514500}, {-2330.975000, -1894.206000, 312.141800}, {-2352.231000, -1884.193000, 332.964900}, {-2554.745000, -1874.057000, 286.972400}, {-2679.198000, -1725.188000, 254.230700}, {-2685.069000, -1682.146000, 258.801000}, {-2710.271000, -1679.607000, 238.472600}, {-2718.097000, -1630.985000, 229.260100}, {-2714.647000, -1599.411000, 238.132700}, {-2737.774000, -1535.337000, 250.048900}, {-2776.623000, -1505.239000, 226.710300}, {-2735.468000, -1464.614000, 225.035800}, {-2705.654000, -1451.290000, 228.856600}, {-2673.108000, -1422.859000, 263.825100}, {-2665.467000, -1547.292000, 305.814400}, {-2603.360000, -1865.581000, 208.261200}, {-2516.017000, -1983.341000, 170.392600}, {-2562.172000, -1977.968000, 154.524200}, {-2612.024000, -1943.284000, 153.380100}, {-2481.903000, -2076.982000, 124.975600}, {-2572.897000, -2017.216000, 149.317400}, {-2607.547000, -1987.074000, 137.021400}, {-2648.589000, -2019.099000, 114.246300}, {-2653.708000, -1984.428000, 113.484800}, {-2655.272000, -1928.836000, 135.998700}, {-2693.661000, -1883.616000, 137.191800}, {-2724.154000, -1849.931000, 148.632800}, {-2772.564000, -1872.500000, 136.014500}, {-2790.887000, -1859.723000, 132.661200}, {-2816.466000, -1839.926000, 127.472700}, {-2804.780000, -1803.688000, 139.236500}, {-2815.699000, -1741.442000, 141.619800}, {-2811.440000, -1703.177000, 141.607600}, {-2791.123000, -1677.541000, 141.594800}, {-2830.342000, -1646.995000, 141.504300}, {-2812.722000, -1624.139000, 141.468800}, {-2826.363000, -1591.267000, 141.320300}, {-2808.122000, -1573.726000, 141.320300}, {-2819.791000, -1546.412000, 139.927900}, {-2816.471000, -1523.127000, 140.843800}, {-2869.174000, -1512.856000, 137.483500}, {-2829.584000, -1473.908000, 136.862600}, {-2798.723000, -1450.910000, 135.985000}, {-2811.579000, -1419.982000, 136.612900}, {-2753.098000, -1405.869000, 141.397500}, {-2795.896000, -1361.851000, 132.677400}, {-2831.583000, -1332.725000, 124.274200}, {-2771.127000, -1268.243000, 123.406100}, {-2722.611000, -1301.893000, 151.723300}, {-2638.538000, -1188.078000, 169.154800}, {-2576.483000, -1135.731000, 167.448000}, {-2540.965000, -1141.727000, 178.571700}, {-2589.974000, -1198.862000, 204.099100}, {-2521.451000, -1222.927000, 222.731900}, {-2461.641000, -1205.008000, 208.542100}, {-2484.149000, -1140.957000, 185.390200}, {-2384.261000, -1179.025000, 194.095800}, {-2341.948000, -1213.234000, 212.646100}, {-2385.992000, -1219.340000, 220.384700}, {-2277.385000, -1228.884000, 212.961900}, {-2234.161000, -1295.298000, 229.007800}, {-2299.680000, -1226.917000, 232.421800}, {-2345.518000, -1252.979000, 240.002800}, {-2317.198000, -1237.847000, 241.873200}, {-2273.726000, -1279.075000, 260.694200}, {-2217.527000, -1342.094000, 277.812300}, {-2322.748000, -1360.485000, 300.323000}, {-2347.135000, -1352.409000, 298.797500}, {-2364.645000, -1367.888000, 302.767200}, {-2398.428000, -1364.042000, 321.167400}, {-2444.261000, -1376.060000, 338.942500}, {-2554.372000, -1473.107000, 360.252100}, {-2500.076000, -1444.264000, 362.809000}, {-2475.075000, -1442.255000, 365.544700}, {-2460.870000, -1413.581000, 361.277800}, {-2385.368000, -1383.090000, 358.701900}, {-2323.137000, -1392.891000, 356.630600}, {-2288.240000, -1409.047000, 356.259500}, {-2261.901000, -1454.445000, 358.697600}, {-2200.349000, -1567.485000, 362.315500}, {-2203.666000, -1584.912000, 363.877600}, {-2199.433000, -1619.540000, 365.842600}, {-2188.232000, -1639.239000, 365.640300}, {-2198.079000, -1653.263000, 368.624100}, {-2206.425000, -1723.768000, 377.321000}, {-2209.392000, -1675.888000, 377.638100}, {-2222.608000, -1594.982000, 379.733000}, {-2221.232000, -1561.057000, 379.378500}, {-2246.698000, -1519.532000, 379.064900}, {-2257.839000, -1506.184000, 385.524400}, {-2261.379000, -1477.233000, 379.551300}, {-2307.937000, -1476.541000, 386.098500}, {-2327.430000, -1489.610000, 398.692600}, {-2382.990000, -1462.804000, 388.885300}, {-2408.139000, -1434.927000, 384.119400}, {-2482.561000, -1488.601000, 391.362200}, {-2103.708000, -1516.094000, 205.305400}, {-2122.233000, -1532.785000, 210.730100}, {-2115.238000, -1559.415000, 214.069900}, {-2133.445000, -1579.688000, 220.394100}, {-2129.647000, -1605.174000, 221.146900}, {-2129.463000, -1626.636000, 219.933700}, {-2117.736000, -1637.041000, 210.637400}, {-2075.388000, -1728.454000, 184.409000}, {-2104.550000, -1738.215000, 185.482100}, {-2125.213000, -1745.211000, 197.011500}, {-2102.307000, -1746.500000, 196.228700}, {-2103.500000, -1789.101000, 209.913600}, {-2140.393000, -1785.354000, 208.777900}, {-2161.086000, -1793.046000, 208.655700}, {-2129.948000, -1833.276000, 212.680600}, {-2169.115000, -1843.534000, 214.864000}, {-2199.175000, -1826.952000, 220.209300}, {-2170.774000, -1881.699000, 231.369700}, {-2178.558000, -1909.748000, 234.810000}, {-2173.207000, -1945.073000, 234.720200}, {-2199.724000, -1953.917000, 242.563300}, {-2216.968000, -1916.007000, 241.888200}, {-2222.759000, -1890.422000, 235.819400}, {-2248.529000, -1848.180000, 236.251800}, {-2268.896000, -1890.258000, 244.997000}, {-2278.180000, -1912.860000, 245.751000}, {-2236.596000, -1941.506000, 246.843300}, {-2199.909000, -1954.513000, 242.682300}, {-2203.818000, -1987.569000, 239.761100}, {-2238.141000, -1987.769000, 246.012700}, {-2270.865000, -1970.038000, 250.292500}, {-2292.729000, -1977.930000, 252.623100}, {-2280.078000, -2005.599000, 254.934600}, {-2237.610000, -2021.609000, 251.809700}, {-2313.004000, -2023.876000, 242.564000}, {-2363.554000, -2031.243000, 256.236900}, {-2368.613000, -2010.798000, 259.906000}, {-2424.686000, -1980.416000, 233.862800}, {-2460.670000, -2009.493000, 207.831300}, {-2442.921000, -2033.636000, 197.872700}, {-2495.926000, -1990.191000, 212.868400}, {-2511.363000, -1970.605000, 214.745300}, {-2520.267000, -1953.996000, 221.538000}, {-2789.113000, -1245.602000, 110.523400}, {-2790.731000, -1222.376000, 102.040300}, {-2779.351000, -1213.102000, 99.971320}, {-2750.283000, -1213.727000, 102.487300}, {-2708.457000, -1202.489000, 109.976100}, {-2716.133000, -1111.012000, 46.910030}, {-2678.954000, -1097.432000, 58.179240}, {-2623.346000, -1103.555000, 85.868770}, {-2603.123000, -1073.227000, 101.864400}, {-2544.599000, -1072.779000, 133.211200}, {-2527.223000, -1029.832000, 102.885900}, {-2496.709000, -1007.851000, 95.591960}, {-2466.703000, -1038.940000, 100.602400}, {-2443.703000, -1067.274000, 119.597600}, {-2431.914000, -1105.006000, 148.794200}, {-2498.307000, -1136.326000, 140.201100}, {-2508.189000, -1154.335000, 153.877800}, {-2431.689000, -1118.326000, 153.604500}, {-2373.864000, -1146.195000, 169.922000}, {-2348.527000, -1172.858000, 184.311200}, {-2314.848000, -1180.203000, 186.037200}, {-2294.715000, -1173.062000, 154.788900}, {-2330.200000, -1086.086000, 94.019360}, {-2366.734000, -1029.740000, 87.672560}, {-2418.751000, -1021.588000, 91.768430}, {-2436.146000, -986.406100, 93.247680}, {-2470.033000, -1007.832000, 96.838650}, {-2481.730000, -1028.204000, 99.533650}, {-2513.724000, -1036.180000, 104.179800}, {-2549.394000, -1023.765000, 99.862360}, {-2559.728000, -1013.740000, 82.630180}, {-2580.892000, -1049.922000, 105.232800}, {-2583.084000, -1090.055000, 120.092100}, {-2636.091000, -1099.384000, 74.023440}, {-2666.736000, -1127.019000, 89.283620}, {-2714.901000, -1130.977000, 59.571780}, {-2752.517000, -1127.121000, 46.921180}, {-2423.891000, -989.186400, 91.194890}, {-2158.445000, -1260.953000, 77.137660}, {-2094.740000, -1313.147000, 78.249110}, {-2078.586000, -1347.969000, 75.128960}, {-2011.266000, -1409.764000, 47.529060}, {-1992.687000, -1427.725000, 39.836410}, {-1999.455000, -1414.860000, 43.130920}, {-1985.204000, -1438.994000, 35.765830}, {-2003.587000, -1444.912000, 88.502560}, {-1980.803000, -1470.392000, 86.807960}, {-2008.808000, -1504.062000, 84.150450}, {-1962.950000, -1526.690000, 91.952080}, {-1983.858000, -1556.460000, 91.311850}, {-2003.705000, -1585.011000, 86.417780}, {-1976.133000, -1593.370000, 87.620830}, {-1940.476000, -1601.604000, 87.963280}, {-1982.773000, -1629.360000, 87.518530}, {-2008.853000, -1677.259000, 89.548850}, {-2017.817000, -1731.543000, 94.576140}, {-2048.848000, -1766.570000, 117.942000}, {-2065.664000, -1781.435000, 133.862900}, {-2058.561000, -1816.149000, 104.033300}, {-2060.780000, -1834.588000, 101.759900}, {-2076.347000, -1870.206000, 99.179180}, {-2105.101000, -1879.852000, 110.523400}, {-2124.709000, -1902.444000, 114.264100}, {-2123.029000, -1927.790000, 105.506200}, {-2132.207000, -1948.447000, 103.821900}, {-2143.652000, -1938.793000, 119.626000}, {-2162.498000, -1993.973000, 117.153800}, {-2163.185000, -2040.801000, 92.088200}, {-2217.595000, -2025.164000, 134.361900}, {-2363.801000, -2091.992000, 116.429500}, {-2411.772000, -2099.707000, 119.763100}, {-2437.881000, -2095.310000, 122.131000}, {-2423.820000, -2075.144000, 134.451000}, {-2490.098000, -2062.395000, 134.486000}, {-2522.473000, -2047.844000, 142.293800}, {-2566.021000, -2064.693000, 133.079400}, {-2800.927000, -1852.954000, 132.938300}, {-2775.076000, -1862.392000, 137.390800}, {-2784.349000, -1896.729000, 118.266500}, {-2710.010000, -1922.033000, 87.925290}, {-2716.916000, -1951.304000, 69.089860}, {-2734.775000, -1956.018000, 57.698310}, {-2723.236000, -1935.712000, 88.680970}, {-2717.032000, -1919.998000, 106.485200}, {-2678.331000, -1940.286000, 121.441700}, {-2655.046000, -1985.890000, 107.350200}, {-2666.313000, -2066.564000, 93.361590}, {-2653.950000, -2117.923000, 72.327350}, {-2618.484000, -2137.097000, 77.922190}, {-2605.398000, -2158.983000, 67.681300}, {-2553.235000, -2134.308000, 65.255140}, {-2504.656000, -2118.191000, 60.868420}, {-2473.470000, -2135.989000, 56.900420}, {-2453.178000, -2125.610000, 62.654870}, {-2358.442000, -2130.255000, 63.171680}, {-2319.848000, -2133.291000, 64.540660}, {-2345.338000, -2157.392000, 45.600680}, {-2248.958000, -2130.477000, 62.371750}, {-2233.176000, -2103.869000, 77.701180}, {-2172.885000, -2067.629000, 81.020260}, {-2228.623000, -2132.421000, 53.493540}, {-2142.734000, -1215.104000, 25.230230}, {-2192.099000, -1219.460000, 15.671880}, {-2189.143000, -1158.050000, 15.672490}, {-2239.563000, -1106.026000, 15.672490}, {-2241.555000, -1053.761000, 12.346890}, {-2326.647000, -1020.184000, 15.671880}, {-2487.974000, -948.729100, 13.916260}, {-2511.151000, -940.961500, 15.161510}, {-2547.671000, -968.868900, 23.014200}, {-2583.533000, -959.804500, 19.085550}, {-2605.473000, -965.868100, 12.328980}, {-2613.785000, -1012.062000, 30.866620}, {-2647.376000, -991.851600, 6.637798}, {-2676.846000, -1003.330000, 3.450089}, {-2701.858000, -1074.464000, 29.751600}, {-2725.166000, -1099.052000, 35.064560}, {-2780.020000, -1093.976000, 12.406720}, {-2785.612000, -1151.530000, 40.076230}, {-2823.096000, -1143.611000, 15.503250}, {-2850.444000, -1160.493000, 12.810980}, {-2896.639000, -1166.507000, 5.052748}, {-2920.708000, -1248.498000, 10.017200}, {-2949.745000, -1267.743000, 4.621609}, {-2901.448000, -1312.724000, 9.796429}, {-2897.078000, -1299.329000, 10.863080}, {-2877.484000, -1349.160000, 31.430800}, {-2885.367000, -1412.163000, 20.465510}, {-2956.758000, -1565.432000, 3.882774}, {-2895.025000, -1604.646000, 14.088220}, {-2910.652000, -1772.333000, 25.938840}, {-2897.914000, -1874.227000, 33.610650}, {-2908.407000, -1933.733000, 36.288520}, {-2826.616000, -1941.146000, 56.298300}, {-2836.046000, -1876.477000, 97.231930}, {-2765.227000, -1972.000000, 45.684840}, {-2841.557000, -1876.555000, 44.368800}, {-2705.431000, -1994.027000, 49.167580}, {-2749.136000, -2073.321000, 25.199230}, {-2703.878000, -2110.569000, 36.413690}, {-2594.958000, -2084.529000, 37.099810}, {-2600.852000, -2117.611000, 31.235980}, {-2643.571000, -2195.808000, 3.415966}, {-2616.194000, -2235.740000, 20.080390}, {-2642.013000, -2278.480000, 6.643551}, {-2694.878000, -2280.565000, 20.235010}, {-2822.200000, -2356.046000, 0.896404}, {-2651.497000, -2417.464000, 3.030808}, {-2741.126000, -2439.496000, 3.883782}, {-2791.497000, -2546.584000, 1.157604}, {-2707.653000, -2590.992000, 11.124210}, {-2602.482000, -2574.490000, 3.001406}, {-2579.129000, -2614.035000, 10.525530}, {-2717.942000, -2720.418000, 3.278728}, {-2653.578000, -2710.275000, 17.358350}, {-2525.285000, -2699.584000, 15.293170}, {-2525.846000, -2833.878000, 8.429665}, {-2492.679000, -2860.308000, 3.013937}, {-2333.115000, -2754.505000, 16.234000}, {-2273.863000, -2775.479000, 22.305850}, {-2294.180000, -2836.961000, 5.498267}, {-2202.640000, -2789.188000, 11.566280}, {-2177.248000, -2831.701000, 1.212841}, {-2122.789000, -2784.252000, 10.125050}, {-2085.126000, -2778.517000, 11.675170}, {-2046.543000, -2839.010000, 1.687593}, {-1960.821000, -2770.223000, 7.756851}, {-1905.820000, -2792.207000, 1.646091}, {-1904.389000, -2727.562000, 16.889540}, {-1818.404000, -2728.043000, 4.582055}, {-2425.594000, -2692.099000, 41.924060}, {-2535.377000, -2618.965000, 34.595310}, {-2500.632000, -2567.371000, 66.699260}, {-2585.334000, -2430.260000, 20.591450}, {-2525.338000, -2258.882000, 23.935200}, {-2477.187000, -2335.860000, 24.547310}, {-2458.990000, -2200.147000, 27.209280}, {-2407.101000, -2181.996000, 33.289060}, {-2392.686000, -2203.852000, 33.289060}, {-2332.228000, -2203.559000, 32.180730}, {-2342.675000, -2248.290000, 18.031930}, {-2320.444000, -2286.689000, 21.661230}, {-2264.597000, -2319.239000, 28.269330}, {-2294.164000, -2449.319000, 25.668810}, {-2301.042000, -2619.620000, 42.714650}, {-2321.861000, -2700.810000, 46.357280}, {-2229.317000, -2744.316000, 37.183400}, {-2110.047000, -2775.458000, 43.631940}, {-1963.171000, -2707.944000, 57.660310}, {-2028.569000, -2667.885000, 56.123500}, {-1930.621000, -2578.420000, 41.081800}, {-1859.397000, -2647.585000, 55.270520}, {-1796.938000, -2556.132000, 54.853290}, {-1821.458000, -2470.263000, 25.042200}, {-1804.885000, -2385.400000, 29.015080}, {-1830.683000, -2384.869000, 26.643140}, {-1906.008000, -2372.879000, 30.678790}, {-1881.387000, -2333.538000, 37.737890}, {-1906.861000, -2288.300000, 53.297070}, {-1917.914000, -2247.608000, 67.021850}, {-1939.384000, -2221.130000, 70.783080}, {-1999.471000, -2214.379000, 56.818120}, {-1985.813000, -2127.688000, 73.246650}, {-1996.653000, -2090.643000, 75.223330}, {-2063.321000, -2088.245000, 60.048910}, {-2104.474000, -2142.752000, 45.423430}, {-2192.698000, -2113.141000, 52.659150}, {-2110.997000, -2000.876000, 63.760890}, {-2054.758000, -2001.833000, 74.455140}, {-2031.825000, -1978.111000, 79.893810}, {-1999.466000, -1921.396000, 72.341770}, {-1988.847000, -1886.589000, 61.925540}, {-1986.949000, -1822.034000, 39.712690}, {-2041.047000, -1874.397000, 51.466200}, {-1927.579000, -1715.192000, 23.030740}, {-1902.394000, -1691.918000, 21.751000}, {-1871.558000, -1693.158000, 21.750000}, {-1907.197000, -1672.045000, 23.015630}, {-1919.541000, -1638.094000, 21.750000}, {-1889.641000, -1618.889000, 21.750000}, {-1864.480000, -1579.437000, 21.750000}, {-1838.533000, -1638.734000, 21.750000}, {-1788.658000, -1647.396000, 33.450550}, {-1817.072000, -1617.616000, 23.015630}, {-1857.492000, -1613.970000, 21.757810}, {-1885.295000, -1638.197000, 25.039060}, {-1852.309000, -1699.443000, 40.867190}, {-1961.371000, -1647.966000, 38.130210}, {-1998.426000, -1744.323000, 80.246860}, {-1942.798000, -1601.238000, 30.798660}, {-1926.742000, -1538.124000, 27.381910}, {-1916.831000, -1465.745000, 15.581310}, {-1961.226000, -1453.292000, 23.764830}, {-1985.745000, -1390.566000, 20.548450}, {-1818.037000, -2272.702000, 59.161100}, {-1779.873000, -2374.168000, 37.05500} }; new gRandomMelee[5] = {2,3,6,9,15}; new gRandomWeapon[13] = {22,23,24,25,26,27,28,29,32,37,41,42,46}; new Float:gRandomPlayerSpawns[37][4] = { {-2181.8494,-2436.0483,35.5234,52.7380}, {-2196.6340,-2422.2661,35.5234,40.2046}, {-2177.4312,-2407.9744,35.2969,232.5697}, {-2203.5823,-2450.0359,31.0737,321.2672}, {-2226.8159,-2489.9780,31.5106,235.2448}, {-2231.4028,-2470.2505,30.6176,322.5206}, {-2237.1003,-2425.6150,32.2867,230.5681}, {-2218.4971,-2401.3013,32.4270,232.7848}, {-2143.3816,-2337.3169,30.6250,320.9766}, {-2105.6350,-2342.1128,30.6250,94.2902}, {-2078.9248,-2310.2976,30.6250,55.7498}, {-2201.3481,-2250.3889,33.3203,232.593}, {-2186.1206,-2261.9553,33.3203,52.2797}, {-2207.5964,-2285.7327,30.6250,326.4255}, {-2220.9302,-2291.3594,30.6250,318.2788}, {-2200.9451,-2306.6638,30.6250,321.4356}, {-2202.5803,-2340.3225,30.6250,49.4831}, {-2152.1909,-2447.3052,30.6250,317.0489}, {-2176.0386,-2480.7070,31.0222,52.9065}, {-2197.9602,-2510.0078,31.0098,320.1823}, {-2181.2766,-2517.2246,31.2592,51.9664}, {-2161.7754,-2533.4272,31.4845,55.0998}, {-2134.7644,-2517.1799,31.3408,143.4607}, {-2105.9941,-2472.2004,30.6250,139.5323}, {-2080.3977,-2449.1001,30.6250,140.3273}, {-2129.5242,-2433.2305,30.6250,327.7025}, {-2059.0054,-2466.3926,30.7459,140.6641}, {-2089.4529,-2512.2773,30.8420,141.4357}, {-2102.9834,-2531.0283,30.6250,50.1099}, {-2073.6519,-2528.0601,30.6250,221.1915}, {-2042.9928,-2524.9417,30.6250,227.4583}, {-2113.8894,-2325.2312,30.6250,228.4216}, {-2084.1296,-2266.6821,30.7340,145.0742}, {-2343.5986,-1612.0349,483.6738,231.6064}, {-2235.7644,-1740.5327,480.8265,43.9361}, {-2409.5769,-2186.6055,33.2891,353.1560}, {-1833.0327,-1704.7769,23.2031,216.2679} }; //------------------------------------------------------------------- main() { print("\n----------------------------------"); print(" Drug Hunt ~ Mt. Chiliad Edition\n"); print(" Created by: Simon"); print(" Help from: Peter, Trix & Y_Less."); print(" Thanks for the help."); print("----------------------------------\n"); } //------------------------------------------------------------------- public OnPlayerConnect(playerid) { GameTextForPlayer(playerid,"~w~SA-MP: ~r~Drug Hunt ~w~-~g~ Mt. Chiliad!",5000,5); SetPlayerColor(playerid, INACTIVE_COLOR); // Set the player's color to inactive FoundPackages[playerid] = 0; for(new i=0; i= min_x && x <= max_x && y >= min_y && y <= max_y && z >= z_min && z <= z_max) { return 1; } return 0; } public ObjectCheck() { for(new i=0; i