Advertisement
TheKiller

Money Bag script - Sa-mp

Aug 4th, 2011
6,927
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 32.10 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. enum mbinfo
  4. {
  5.     Float:XPOS,
  6.     Float:YPOS,
  7.     Float:ZPOS,
  8.     Position[50]
  9. };
  10.  
  11. new Float:MBSPAWN[][mbinfo] =
  12. {
  13.   // Positions, (X, Y, Z, Location)
  14.     {713.073852, 912.842224, -19.096578, "The Quarry"},
  15.     {688.145507, 844.974914, -28.631895, "The Quarry"},
  16.     {586.370788, 913.020202, -34.194843, "The Quarry"},
  17.     {503.419708, 970.914550, -24.997589, "The Quarry"},
  18.     {499.296356, 971.732788, -25.047336, "The Quarry"},
  19.     {458.502136, 891.120666, -27.374114, "The Quarry"},
  20.     {628.248901, 735.500732, -0.903092, "The Quarry"},
  21.     {627.924438, 1046.961303, 25.122577, "The Quarry"},
  22.     {792.460510, 915.044189, 20.112213, "The Quarry"},
  23.     {320.508636, 848.626281, 19.967500, "The Quarry"},
  24.     {361.191741, 829.137329, 21.289638, "The Quarry"},
  25.     {462.726348, 973.174621, 5.403401, "The Quarry"},
  26.     {484.878112, 962.291137, 5.981633, "The Quarry"},
  27.     {591.441650, 706.663513, 9.760972, "The Quarry"},
  28.     {770.800415, 746.815368, 27.704566, "The Quarry"},
  29.     {434.217102, 898.344543, 2.117520, "The Quarry"},
  30.     {488.367218, 810.184814, 1.804343, "The Quarry"},
  31.     {528.185913, 816.695800, -11.858360, "The Quarry"},
  32.     {568.221130, 824.427429, -22.127143, "The Quarry"},
  33.     {575.399353, 872.569091, -35.329307, "The Quarry"},
  34.     {623.156188, 892.809875, -41.102825, "The Quarry"},
  35.     {418.428070, 1409.390625, 8.565642, "The Petroleum"},
  36.     {475.849548, 1325.585083, 11.321235, "The Petroleum"},
  37.     {541.844848, 1556.681152, 0.482253, "The Petroleum"},
  38.     {597.308898, 1535.999389, 3.586513, "The Petroleum"},
  39.     {669.860534, 1422.952880, 10.887602, "The Petroleum"},
  40.     {559.382812, 1371.361328, 16.322978, "The Petroleum"},
  41.     {438.514587, 1268.192016, 9.017544, "The Petroleum"},
  42.     {585.843322, 1485.281738, 12.073791, "The Petroleum"},
  43.     {229.331573, 1478.390502, 10.151371, "Green Palms"},
  44.     {152.056015, 1447.338256, 10.156622, "Green Palms"},
  45.     {133.937881, 1377.117065, 10.158605, "Green Palms"},
  46.     {205.768768, 1352.408081, 10.151306, "Green Palms"},
  47.     {210.495468, 1395.340332, 10.151283, "Green Palms"},
  48.     {215.108322, 1467.936157, 14.921875, "Green Palms"},
  49.     {215.115737, 1467.059326, 23.734375, "Green Palms"},
  50.     {187.969940, 1371.305786, 23.734375, "Green Palms"},
  51.     {246.766662, 1360.596679, 10.707500, "Green Palms"},
  52.     {246.478836, 1362.749633, 23.370285, "Green Palms"},
  53.     {222.136520, 1424.068847, 10.585937, "Green Palms"},
  54.     {95.363838, 1831.129028, 17.205287, "Area 69"},
  55.     {189.325698, 1940.272949, 17.213102, "Area 69"},
  56.     {193.302978, 1940.295654, 17.212646, "Area 69"},
  57.     {261.569244, 1807.425537, 25.498508, "Area 69"},
  58.     {201.875762, 1873.929809, 12.774854, "Area 69"},
  59.     {238.924987, 1863.955078, 11.460937, "Area 69"},
  60.     {221.148391, 1822.212890, 7.531250, "Area 69"},
  61.     {245.811523, 1813.676025, 4.710937, "Area 69"},
  62.     {257.617523, 1819.045043, 1.007812, "Area 69"},
  63.     {280.195648, 1840.170532, 11.534780, "Area 69"},
  64.     {282.369171, 1874.492065, 8.757812, "Area 69"},
  65.     {266.978424, 1858.773071, 8.757812, "Area 69"},
  66.     {262.194854, 1886.633789, -30.390625, "Area 69"},
  67.     {268.940002, 1883.556152, -30.093750, "Area 69"},
  68.     {268.277374, 1891.600708, -12.862023, "Area 69"},
  69.     {268.972656, 1876.503906, -3.470956, "Area 69"},
  70.     {275.735778, 1892.228881, 8.437500, "Area 69"},
  71.     {246.438491, 1830.403930, 12.210659, "Area 69"},
  72.     {134.512237, 1952.987426, 18.978763, "Area 69"},
  73.     {-41.510822, 1178.722290, 18.961349, "Fort Carson"},
  74.     {2.213922, 1119.721435, 19.450517, "Fort Carson"},
  75.     {17.874195, 1076.159057, 19.804994, "Fort Carson"},
  76.     {-95.816307, 1164.927001, 19.312730, "Fort Carson"},
  77.     {-100.357772, 1127.539672, 19.323959, "Fort Carson"},
  78.     {-117.773254, 1132.638061, 19.326152, "Fort Carson"},
  79.     {-190.864791, 1218.766357, 19.306653, "Fort Carson"},
  80.     {-218.729446, 1147.502807, 19.328531, "Fort Carson"},
  81.     {-378.680541, 1103.303466, 19.314443, "Fort Carson"},
  82.     {-312.767395, 1175.458740, 19.307266, "Fort Carson"},
  83.     {-209.111099, 1216.520629, 23.436161, "Fort Carson"},
  84.     {-170.258102, 1176.971801, 24.155366, "Fort Carson"},
  85.     {-172.726379, 1182.572753, 26.504249, "Fort Carson"},
  86.     {-824.523559, 1444.919677, 13.547593, "Las Barrancas"},
  87.     {-811.227539, 1479.601074, 26.136028, "Las Barrancas"},
  88.     {-778.594482, 1477.787719, 28.764667, "Las Barrancas"},
  89.     {-801.825866, 1513.152099, 21.131435, "Las Barrancas"},
  90.     {-730.415039, 1539.924682, 40.065593, "Las Barrancas"},
  91.     {-733.456970, 1553.795654, 39.189163, "Las Barrancas"},
  92.     {-737.410278, 1593.716186, 26.656929, "Las Barrancas"},
  93.     {-774.510375, 1616.915771, 26.687776, "Las Barrancas"},
  94.     {-835.524841, 1597.141967, 26.505504, "Las Barrancas"},
  95.     {-888.960021, 1553.529907, 25.501276, "Las Barrancas"},
  96.     {-862.112548, 1536.867919, 25.737701, "Las Barrancas"},
  97.     {-856.268554, 1528.398559, 25.737701, "Las Barrancas"},
  98.     {-303.303192, 2744.042236, 61.440700, "Las Payasadas"},
  99.     {-210.072189, 2814.655273, 64.240028, "Las Payasadas"},
  100.     {-164.061630, 2767.596435, 62.252616, "Las Payasadas"},
  101.     {-166.319808, 2730.175537, 65.696540, "Las Payasadas"},
  102.     {-213.414306, 2719.982177, 62.687500, "Las Payasadas"},
  103.     {-287.109222, 2687.127441, 65.852340, "Las Payasadas"},
  104.     {-268.482818, 2667.310546, 62.670055, "Las Payasadas"},
  105.     {-282.033843, 2651.087402, 67.323928, "Las Payasadas"},
  106.     {-307.318756, 2652.917236, 68.252456, "Las Payasadas"},
  107.     {-237.491958, 2663.685546, 63.858531, "Las Payasadas"},
  108.     {-153.610809, 2711.833984, 62.144855, "Las Payasadas"},
  109.     {-235.506256, 2826.033935, 61.760990, "Las Payasadas"},
  110.     {123.295402, 2427.276123, 16.638261, "Verdant Meadows"},
  111.     {152.007369, 2417.473388, 19.140531, "Verdant Meadows"},
  112.     {209.578689, 2415.689697, 16.322700, "Verdant Meadows"},
  113.     {237.976455, 2432.690185, 16.626625, "Verdant Meadows"},
  114.     {276.434844, 2430.887695, 16.041940, "Verdant Meadows"},
  115.     {313.228027, 2415.748046, 19.511663, "Verdant Meadows"},
  116.     {349.762481, 2451.393310, 20.452396, "Verdant Meadows"},
  117.     {412.917022, 2432.326904, 16.054676, "Verdant Meadows"},
  118.     {435.414642, 2561.705078, 16.089130, "Verdant Meadows"},
  119.     {414.310363, 2533.625732, 19.148437, "Verdant Meadows"},
  120.     {401.180969, 2544.245849, 19.631122, "Verdant Meadows"},
  121.     {390.938781, 2607.264160, 16.049514, "Verdant Meadows"},
  122.     {334.645782, 2677.588867, 15.882289, "Verdant Meadows"},
  123.     {306.708404, 2629.444335, 16.256523, "Verdant Meadows"},
  124.     {271.063079, 2611.989257, 16.041421, "Verdant Meadows"},
  125.     {172.383773, 2606.412597, 16.116966, "Verdant Meadows"},
  126.     {154.106018, 2630.396240, 16.041749, "Verdant Meadows"},
  127.     {115.394462, 2631.614501, 15.986257, "Verdant Meadows"},
  128.     {104.371681, 2582.203613, 16.044742, "Verdant Meadows"},
  129.     {14.670138, 2560.055419, 15.932084, "Verdant Meadows"},
  130.     {9.903661, 2435.500732, 16.019382, "Verdant Meadows"},
  131.     {-2452.078125, 2438.356933, 14.555831, "Bayside"},
  132.     {-2417.809570, 2456.555908, 25.779113, "Bayside"},
  133.     {-2406.699462, 2469.222656, 12.183320, "Bayside"},
  134.     {-2415.591552, 2386.210205, 7.998282, "Bayside"},
  135.     {-2386.701904, 2398.892578, 8.845354, "Bayside"},
  136.     {-2407.274902, 2477.111816, 11.345425, "Bayside"},
  137.     {-2403.085449, 2553.951904, 23.601562, "Bayside"},
  138.     {-2286.216552, 2572.171142, 23.416145, "Bayside"},
  139.     {-2262.795410, 2573.447753, 8.214822, "Bayside"},
  140.     {-2675.145996, 2322.950927, 25.147560, "Bayside"},
  141.     {-2336.536376, 2480.192138, 1.275272, "Bayside"},
  142.     {-2625.399658, 2245.826171, 6.694106, "Bayside"},
  143.     {-2634.328125, 2240.306152, 14.622048, "Bayside"},
  144.     {-2627.168457, 2234.247070, 12.825107, "Bayside"},
  145.     {-2629.958984, 2243.830566, 12.611998, "Bayside"},
  146.     {-2624.168212, 2245.396972, 6.268455, "Bayside"},
  147.     {-2551.672851, 2432.413330, 18.866594, "Bayside"},
  148.     {-2293.487060, 2225.002685, 4.982191, "Bayside"},
  149.     {-2578.585693, 2520.823730, 21.721471, "Bayside"},
  150.     {-2497.177978, 2455.601562, 17.332534, "Bayside"},
  151.     {-2299.505859, 2277.234619, 4.978750, "Bayside"},
  152.     {-2353.547119, 2430.278320, 7.510148, "Bayside"},
  153.     {1316.041870, 275.046447, 31.049236, "Montgomery"},
  154.     {1304.498779, 150.734161, 23.841037, "Montgomery"},
  155.     {1424.074584, 234.264190, 19.554687, "Montgomery"},
  156.     {1397.934692, 289.888427, 23.555511, "Montgomery"},
  157.     {1377.866699, 317.458984, 19.554687, "Montgomery"},
  158.     {1236.187255, 304.846252, 24.757812, "Montgomery"},
  159.     {1239.561157, 288.248535, 25.755512, "Montgomery"},
  160.     {1264.523315, 269.752105, 22.237289, "Montgomery"},
  161.     {1283.437011, 264.630554, 23.762454, "Montgomery"},
  162.     {1352.665161, 199.973419, 19.554687, "Montgomery"},
  163.     {1363.234741, 195.539321, 23.227035, "Montgomery"},
  164.     {1417.051757, 260.263885, 24.656915, "Montgomery"},
  165.     {1414.501342, 363.570312, 19.164152, "Montgomery"},
  166.     {1397.685424, 357.668762, 19.415740, "Montgomery"},
  167.     {1374.767822, 366.475738, 21.055135, "Montgomery"},
  168.     {1291.057983, 392.483947, 19.531446, "Montgomery"},
  169.     {1282.783935, 385.586151, 27.555513, "Montgomery"},
  170.     {1238.631103, 370.964813, 27.555509, "Montgomery"},
  171.     {1183.289062, 230.991256, 19.561769, "Montgomery"},
  172.     {1224.791137, 246.335128, 23.282218, "Montgomery"},
  173.     {1270.518188, 240.601501, 31.107307, "Montgomery"},
  174.     {1266.207519, 234.240051, 25.048685, "Montgomery"},
  175.     {1290.146484, 300.298248, 28.560659, "Montgomery"},
  176.     {198.153564, -189.123001, 7.578125, "Blueberry"},
  177.     {244.182067, -312.091217, 1.578125, "Blueberry"},
  178.     {377.058685, -126.040382, 1.282783, "Blueberry"},
  179.     {331.945190, -21.335258, 8.999382, "Blueberry"},
  180.     {270.666198, 25.962350, 7.423792, "Blueberry"},
  181.     {269.469726, -39.207118, 2.076274, "Blueberry"},
  182.     {249.126205, -55.748535, 2.778613, "Blueberry"},
  183.     {200.529525, -2.403444, 1.585840, "Blueberry"},
  184.     {151.374862, -112.419876, 8.206827, "Blueberry"},
  185.     {186.791824, -97.364349, 4.896471, "Blueberry"},
  186.     {294.001983, -195.634521, 7.138307, "Blueberry"},
  187.     {79.888191, -172.170288, 3.240008, "Blueberry"},
  188.     {90.263679, -196.305435, 1.484375, "Blueberry"},
  189.     {307.548217, -256.133117, 1.583575, "Blueberry"},
  190.     {130.356811, -65.668479, 1.578125, "Blueberry"},
  191.     {201.947799, -107.787826, 1.552092, "Blueberry"},
  192.     {251.443710, -59.984920, 5.882812, "Blueberry"},
  193.     {338.868713, 39.111991, 6.514575, "Blueberry"},
  194.     {233.187500, 88.724472, 3.707660, "Blueberry"},
  195.     {271.035064, -325.480102, 4.109173, "Blueberry"},
  196.     {258.287322, -91.798759, 6.548583, "Blueberry"},
  197.     {660.309570, -515.073425, 22.836296, "Dillimore"},
  198.     {681.892456, -471.186981, 24.570465, "Dillimore"},
  199.     {720.187500, -460.116394, 23.195312, "Dillimore"},
  200.     {766.745727, -565.935180, 18.013334, "Dillimore"},
  201.     {766.601135, -565.742553, 18.013334, "Dillimore"},
  202.     {795.740600, -498.457305, 18.013332, "Dillimore"},
  203.     {830.493530, -483.307739, 17.335937, "Dillimore"},
  204.     {822.035034, -539.921508, 23.336297, "Dillimore"},
  205.     {806.729309, -644.110595, 16.335937, "Dillimore"},
  206.     {837.977600, -618.451599, 16.427936, "Dillimore"},
  207.     {872.614746, -589.113098, 17.975578, "Dillimore"},
  208.     {618.945983, -495.678375, 17.036308, "Dillimore"},
  209.     {613.239624, -511.376983, 20.336296, "Dillimore"},
  210.     {668.560424, -565.262573, 20.646862, "Dillimore"},
  211.     {655.586303, -565.002868, 22.147821, "Dillimore"},
  212.     {663.681518, -552.116699, 16.335937, "Dillimore"},
  213.     {666.731262, -624.085144, 16.335937, "Dillimore"},
  214.     {659.283569, -649.963623, 16.335937, "Dillimore"},
  215.     {714.395568, -638.833496, 15.661087, "Dillimore"},
  216.     {706.086425, -513.023925, 19.836296, "Dillimore"},
  217.     {697.977600, -502.530029, 20.336296, "Dillimore"},
  218.     {2252.387695, -71.207305, 31.594974, "Palimino Creek"},
  219.     {2256.675292, -51.222541, 33.039546, "Palimino Creek"},
  220.     {2280.761474, -43.499469, 33.915302, "Palimino Creek"},
  221.     {2331.433349, -16.148464, 29.984375, "Palimino Creek"},
  222.     {2307.091796, 42.845218, 26.484375, "Palimino Creek"},
  223.     {2312.534423, 81.270088, 34.412147, "Palimino Creek"},
  224.     {2282.645019, 80.523757, 34.983432, "Palimino Creek"},
  225.     {2270.598876, 52.587516, 29.983432, "Palimino Creek"},
  226.     {2237.241210, -146.453750, 25.870410, "Palimino Creek"},
  227.     {2294.017333, -133.607147, 28.153959, "Palimino Creek"},
  228.     {2290.864501, -125.560646, 31.281974, "Palimino Creek"},
  229.     {2494.198486, 84.268798, 26.484375, "Palimino Creek"},
  230.     {2522.718505, -35.541027, 27.843750, "Palimino Creek"},
  231.     {2371.754638, 166.031631, 28.441642, "Palimino Creek"},
  232.     {2221.037597, 187.976211, 26.053337, "Palimino Creek"},
  233.     {2175.741210, -96.308731, 25.773351, "Palimino Creek"},
  234.     {2194.704589, -51.970607, 27.476959, "Palimino Creek"},
  235.     {2521.830566, 147.489349, 26.660923, "Palimino Creek"},
  236.     {2503.659667, 138.658645, 26.476562, "Palimino Creek"},
  237.     {2385.197021, 132.599624, 26.477228, "Palimino Creek"},
  238.     {2497.073974, 73.162178, 26.484375, "Palimino Creek"},
  239.     {1113.000366, -298.941436, 79.273048, "Hilltop Farms"},
  240.     {1145.276123, -319.449951, 68.736564, "Hilltop Farms"},
  241.     {1139.270874, -279.303375, 68.293548, "Hilltop Farms"},
  242.     {1109.191650, -254.074951, 73.178703, "Hilltop Farms"},
  243.     {1074.967651, -290.027832, 76.994865, "Hilltop Farms"},
  244.     {1045.733276, -292.704284, 77.359375, "Hilltop Farms"},
  245.     {1038.980712, -314.385131, 73.993080, "Hilltop Farms"},
  246.     {1019.215393, -280.257232, 73.992187, "Hilltop Farms"},
  247.     {1017.502319, -291.644531, 77.359375, "Hilltop Farms"},
  248.     {1025.220092, -286.122772, 73.993080, "Hilltop Farms"},
  249.     {1008.152404, -361.344543, 73.992187, "Hilltop Farms"},
  250.     {1031.137329, -286.081237, 73.992187, "Hilltop Farms"},
  251.     {-91.739074, 47.309322, 3.117187, "Blueberry Acres"},
  252.     {-59.916896, 110.778358, 3.117187, "Blueberry Acres"},
  253.     {-21.062276, 101.820167, 3.117187, "Blueberry Acres"},
  254.     {-39.467891, 54.310203, 3.117187, "Blueberry Acres"},
  255.     {-57.822875, 58.630420, 12.634796, "Blueberry Acres"},
  256.     {6.610152, -116.727790, 0.827577, "Blueberry Acres"},
  257.     {-234.935729, -49.896484, 3.117187, "Blueberry Acres"},
  258.     {-63.104183, -42.047443, 3.117187, "Blueberry Acres"},
  259.     {-101.163230, -42.706863, 3.960474, "Blueberry Acres"},
  260.     {-65.395072, -79.674530, 3.117187, "Blueberry Acres"},
  261.     {-71.846885, 16.072692, 4.960474, "Blueberry Acres"},
  262.     {-115.097801, -158.043121, 3.053518, "Blueberry Acres"},
  263.     {-74.329200, 134.758972, 3.117187, "Blueberry Acres"},
  264.     {-180.387710, 158.206222, 6.585262, "Blueberry Acres"},
  265.     {43.705768, 31.582788, 2.406414, "Blueberry Acres"},
  266.     {-120.041000, -101.572135, 3.118082, "Blueberry Acres"},
  267.     {-97.865242, 3.703858, 6.140625, "Blueberry Acres"},
  268.     {-141.913879, -45.108047, 3.117187, "Blueberry Acres"},
  269.     {-96.231872, -43.475280, 6.484375, "Blueberry Acres"},
  270.     {-614.443786, 151.758407, 25.818775, "The Panopticon"},
  271.     {-526.496093, 58.226322, 50.909709, "The Panopticon"},
  272.     {-472.907379, -169.445770, 78.210937, "The Panopticon"},
  273.     {-735.953918, 57.285392, 26.305458, "The Panopticon"},
  274.     {-546.440124, -61.437793, 63.233062, "The Panopticon"},
  275.     {-710.849609, -206.753967, 69.553245, "The Panopticon"},
  276.     {-436.740875, -59.873924, 58.875000, "The Panopticon"},
  277.     {-751.409790, -114.402214, 67.739364, "The Panopticon"},
  278.     {-925.530151, -124.350387, 57.936649, "The Panopticon"},
  279.     {-400.126495, 236.726394, 9.927101, "The Panopticon"},
  280.     {-520.779357, -125.374198, 69.994155, "The Panopticon"},
  281.     {-561.900878, -178.898284, 78.413543, "The Panopticon"},
  282.     {-539.732116, -161.536758, 78.206115, "The Panopticon"},
  283.     {-532.769287, -177.417663, 84.258483, "The Panopticon"},
  284.     {-389.482971, -211.937072, 59.564701, "The Panopticon"},
  285.     {-406.703948, -1449.153686, 26.062500, "Flint Range"},
  286.     {-396.805908, -1426.215209, 38.644241, "Flint Range"},
  287.     {-365.578216, -1413.950805, 29.640625, "Flint Range"},
  288.     {-364.751220, -1434.614501, 25.726562, "Flint Range"},
  289.     {-584.598876, -1482.920043, 11.257370, "Flint Range"},
  290.     {-558.555603, -1289.688232, 24.061843, "Flint Range"},
  291.     {-210.887054, -1339.520751, 11.636716, "Flint Range"},
  292.     {-203.383239, -1279.539794, 7.933257, "Flint Range"},
  293.     {-370.022949, -1469.212768, 25.726562, "Flint Range"},
  294.     {-257.378387, -1502.086059, 6.142509, "Flint Range"},
  295.     {-329.254211, -1537.986083, 14.820620, "Flint Range"},
  296.     {-370.188598, -1416.738281, 25.726562, "Flint Range"},
  297.     {-468.467102, -1423.658813, 17.497291, "Flint Range"},
  298.     {-366.230377, -1425.508422, 36.910018, "Flint Range"},
  299.     {-438.425720, -1307.287841, 34.957294, "Flint Range"},
  300.     {-326.334747, -1312.265869, 9.666571, "Flint Range"},
  301.     {-2508.313232, -675.049499, 139.320312, "Missionary Hill"},
  302.     {-2528.568359, -700.439453, 141.788848, "Missionary Hill"},
  303.     {-2438.275146, -464.318084, 91.305053, "Missionary Hill"},
  304.     {-2543.994384, -783.435424, 69.258705, "Missionary Hill"},
  305.     {-2693.597412, -752.083862, 51.020137, "Missionary Hill"},
  306.     {-2600.115478, -547.044921, 86.723999, "Missionary Hill"},
  307.     {-2314.386230, -888.267517, 7.742542, "Missionary Hill"},
  308.     {-2322.930664, -655.598815, 107.419876, "Missionary Hill"},
  309.     {-2324.206054, -683.263916, 104.464118, "Missionary Hill"},
  310.     {-2394.915283, -468.217041, 87.153312, "Missionary Hill"},
  311.     {-2631.078613, -596.495971, 90.808830, "Missionary Hill"},
  312.     {-2542.992431, -656.802001, 139.079116, "Missionary Hill"},
  313.     {-2432.825439, -391.364898, 69.389305, "Missionary Hill"},
  314.     {-2617.927001, -749.242065, 74.848922, "Missionary Hill"},
  315.     {-2175.949951, -2417.699218, 34.296875, "Angel Pine"},
  316.     {-2161.742919, -2453.351562, 37.592113, "Angel Pine"},
  317.     {-2147.736572, -2461.206787, 30.851562, "Angel Pine"},
  318.     {-2090.979492, -2469.472900, 33.924186, "Angel Pine"},
  319.     {-2053.039306, -2544.468261, 31.066806, "Angel Pine"},
  320.     {-2132.012939, -2433.635986, 39.040298, "Angel Pine"},
  321.     {-2182.593994, -2428.734375, 35.523437, "Angel Pine"},
  322.     {-2224.829833, -2396.499511, 35.533672, "Angel Pine"},
  323.     {-2243.295654, -2359.313720, 30.750513, "Angel Pine"},
  324.     {-2191.753173, -2345.898437, 35.007812, "Angel Pine"},
  325.     {-2178.140625, -2314.520019, 37.743614, "Angel Pine"},
  326.     {-2199.897949, -2243.446044, 33.320312, "Angel Pine"},
  327.     {-2186.412353, -2245.995605, 30.721515, "Angel Pine"},
  328.     {-2081.464843, -2254.676025, 37.810462, "Angel Pine"},
  329.     {-2139.485839, -2263.617675, 37.106971, "Angel Pine"},
  330.     {-2130.179931, -2362.220703, 37.803909, "Angel Pine"},
  331.     {-2245.683837, -2489.593261, 30.939933, "Angel Pine"},
  332.     {-2115.936523, -2417.141113, 31.226562, "Angel Pine"},
  333.     {-2293.220947, -2449.365478, 25.740257, "Angel Pine"},
  334.     {-1972.621704, -2409.536376, 36.779953, "Angel Pine"},
  335.     {-2034.074829, -2350.098144, 40.890625, "Angel Pine"},
  336.     {-2101.847412, -2341.794677, 34.820312, "Angel Pine"},
  337.     {-1181.246826, -1169.744262, 129.218750, "The Farm"},
  338.     {-1064.526367, -1202.956298, 136.825164, "The Farm"},
  339.     {-1073.703247, -1236.239135, 129.218750, "The Farm"},
  340.     {-960.019836, -969.289123, 136.249679, "The Farm"},
  341.     {-1178.073120, -1139.615356, 129.218750, "The Farm"},
  342.     {-1086.143554, -1304.293945, 129.218750, "The Farm"},
  343.     {-1099.003295, -971.934814, 129.218750, "The Farm"},
  344.     {-1062.486328, -913.190063, 129.211929, "The Farm"},
  345.     {-1186.598144, -1138.081909, 132.746429, "The Farm"},
  346.     {-1087.829833, -1084.395629, 129.218750, "The Farm"},
  347.     {-1004.356140, -1013.866821, 129.218750, "The Farm"},
  348.     {-1033.648925, -1068.210327, 129.218750, "The Farm"},
  349.     {-1019.635437, -1153.692138, 129.218750, "The Farm"},
  350.     {-1026.010375, -1183.257690, 129.218750, "The Farm"},
  351.     {-1007.072387, -1296.862426, 132.661285, "The Farm"},
  352.     {-1124.512817, -1222.314208, 129.218750, "The Farm"},
  353.     {-1087.444824, -1677.984130, 76.373939, "Leafy Hallows"},
  354.     {-1087.494018, -1678.885498, 76.373939, "Leafy Hallows"},
  355.     {-1091.211059, -1663.834472, 76.367187, "Leafy Hallows"},
  356.     {-1108.562622, -1634.623657, 80.057617, "Leafy Hallows"},
  357.     {-1078.178222, -1607.183349, 76.367187, "Leafy Hallows"},
  358.     {-1130.027343, -1606.987304, 76.367187, "Leafy Hallows"},
  359.     {-1112.752685, -1621.049194, 86.261589, "Leafy Hallows"},
  360.     {-1097.599121, -1627.398681, 76.367187, "Leafy Hallows"},
  361.     {-946.533935, -1746.916137, 76.381385, "Leafy Hallows"},
  362.     {-927.683105, -1701.916503, 77.025894, "Leafy Hallows"},
  363.     {-923.776733, -1757.801513, 75.444259, "Leafy Hallows"},
  364.     {-905.625366, -1730.898193, 78.139099, "Leafy Hallows"},
  365.     {-1128.219360, -1696.092529, 76.558853, "Leafy Hallows"},
  366.     {-1026.914428, -1733.098632, 76.425018, "Leafy Hallows"},
  367.     {-1137.569824, -1630.458251, 76.367187, "Leafy Hallows"},
  368.     {-1094.567626, -1663.774780, 76.367187, "Leafy Hallows"},
  369.     {-1043.661254, -1621.000000, 76.367187, "Leafy Hallows"},
  370.     {-907.789489, -1669.016723, 92.697944, "Leafy Hallows"},
  371.     {2556.437744, -644.786804, 137.252746, "North Rock"},
  372.     {2514.413818, -716.559753, 101.872634, "North Rock"},
  373.     {2443.473388, -657.824401, 121.906684, "North Rock"},
  374.     {2612.934814, -497.000335, 78.922164, "North Rock"},
  375.     {2657.899414, -602.413452, 84.188896, "North Rock"},
  376.     {2683.218017, -516.679077, 65.786819, "North Rock"},
  377.     {2627.179199, -666.909179, 128.962661, "North Rock"},
  378.     {2759.122314, -633.098876, 60.327945, "North Rock"},
  379.     {2356.232910, -558.502868, 120.259140, "North Rock"},
  380.     {2558.949218, -523.134826, 86.272521, "North Rock"},
  381.     {-1012.700317, -754.431518, 32.007812, "Easter Bay Chemicals"},
  382.     {-1095.468139, -629.071044, 34.089599, "Easter Bay Chemicals"},
  383.     {-1109.042358, -601.289489, 34.089599, "Easter Bay Chemicals"},
  384.     {-1074.046508, -600.883239, 34.089599, "Easter Bay Chemicals"},
  385.     {-1112.463256, -748.833557, 32.007812, "Easter Bay Chemicals"},
  386.     {-996.942810, -720.715209, 35.937500, "Easter Bay Chemicals"},
  387.     {-987.252502, -716.223449, 35.901714, "Easter Bay Chemicals"},
  388.     {-1037.941650, -697.023925, 32.007812, "Easter Bay Chemicals"},
  389.     {-972.693725, -719.797607, 37.171875, "Easter Bay Chemicals"},
  390.     {-1057.215332, -758.628417, 37.171875, "Easter Bay Chemicals"},
  391.     {-1127.549194, -701.471435, 32.007812, "Easter Bay Chemicals"},
  392.     {-973.345092, -635.038330, 32.007812, "Easter Bay Chemicals"},
  393.     {-1099.870605, -696.740661, 32.351562, "Easter Bay Chemicals"},
  394.     {-1057.206665, -634.323059, 35.493179, "Easter Bay Chemicals"},
  395.     {-1017.676330, -704.239746, 32.007812, "Easter Bay Chemicals"},
  396.     {-1525.973999, 2652.515136, 59.711399, "El Quebrados"},
  397.     {-1507.893920, 2626.360107, 59.233432, "El Quebrados"},
  398.     {-1530.962646, 2590.045654, 60.793697, "El Quebrados"},
  399.     {-1481.348388, 2618.711181, 62.335689, "El Quebrados"},
  400.     {-1416.942138, 2582.434082, 62.005947, "El Quebrados"},
  401.     {-1437.265258, 2559.354248, 55.835937, "El Quebrados"},
  402.     {-1459.728881, 2616.084960, 55.835937, "El Quebrados"},
  403.     {-1452.608764, 2640.138183, 55.835937, "El Quebrados"},
  404.     {-1463.314697, 2720.380126, 65.580146, "El Quebrados"},
  405.     {-1550.759765, 2701.973876, 55.835937, "El Quebrados"},
  406.     {-1567.961425, 2714.753662, 59.495937, "El Quebrados"},
  407.     {-1591.316162, 2639.252685, 54.892074, "El Quebrados"},
  408.     {-1564.054321, 2561.529541, 66.368583, "El Quebrados"},
  409.     {-1593.676757, 2562.781250, 68.570213, "El Quebrados"},
  410.     {-1461.241210, 2653.424804, 58.912673, "El Quebrados"},
  411.     {-1470.498413, 2554.702636, 55.835937, "El Quebrados"},
  412.     {-1579.125488, 2641.298095, 55.835937, "El Quebrados"},
  413.     {-1521.946166, 2709.298339, 55.835937, "El Quebrados"},
  414.     {-828.082336, 2661.674560, 104.945419, "Valle Ocultado"},
  415.     {-835.934020, 2659.769775, 96.975189, "Valle Ocultado"},
  416.     {-831.431640, 2695.995361, 53.576766, "Valle Ocultado"},
  417.     {-803.072448, 2695.158203, 67.962074, "Valle Ocultado"},
  418.     {-799.726013, 2704.947265, 47.416099, "Valle Ocultado"},
  419.     {-788.210693, 2694.006103, 48.357761, "Valle Ocultado"},
  420.     {-785.256774, 2719.440917, 45.300182, "Valle Ocultado"},
  421.     {-779.532104, 2774.275146, 45.864643, "Valle Ocultado"},
  422.     {-879.216064, 2747.853759, 46.000000, "Valle Ocultado"},
  423.     {-724.237121, 2761.054199, 47.958900, "Valle Ocultado"},
  424.     {-921.067687, 2675.897705, 45.312007, "Valle Ocultado"},
  425.     {-912.755981, 2685.360595, 45.579273, "Valle Ocultado"},
  426.     {-895.774658, 2672.384033, 42.191963, "Valle Ocultado"},
  427.     {-769.700073, 2770.898437, 50.696720, "Valle Ocultado"},
  428.     {-801.442077, 2776.446044, 45.975139, "Valle Ocultado"},
  429.     {-737.213012, 2744.907470, 50.156967, "Valle Ocultado"},
  430.     {-809.037780, 2809.187255, 49.179012, "Valle Ocultado"},
  431.     {-821.493896, 2690.416259, 67.090553, "Valle Ocultado"},
  432.     {-875.683532, 2693.958251, 52.923053, "Valle Ocultado"},
  433.     {-918.803100, 2669.565429, 42.370262, "Valle Ocultado"},
  434.     {-928.732421, 2707.239257, 42.883373, "Valle Ocultado"},
  435.     {-384.209350, 2206.028564, 45.671134, "Ghost Town"},
  436.     {-417.697753, 2246.862548, 42.429687, "Ghost Town"},
  437.     {-384.358673, 2206.287841, 45.671134, "Ghost Town"},
  438.     {-375.438262, 2241.879882, 47.126880, "Ghost Town"},
  439.     {-371.937103, 2266.688964, 42.484375, "Ghost Town"},
  440.     {-395.177276, 2246.250000, 50.119434, "Ghost Town"},
  441.     {-324.652770, 2216.008789, 44.212184, "Ghost Town"},
  442.     {-456.136169, 2223.866699, 42.894790, "Ghost Town"},
  443.     {-435.397033, 2249.250732, 46.098773, "Ghost Town"},
  444.     {-397.759216, 2198.488281, 42.425659, "Ghost Town"},
  445.     {-327.913360, 2231.848876, 43.372142, "Ghost Town"},
  446.     {-439.359222, 2219.759033, 47.228851, "Ghost Town"},
  447.     {-765.302185, 2491.239013, 102.136093, "Acro del Oeste"},
  448.     {-802.416625, 2444.712158, 157.024627, "Acro del Oeste"},
  449.     {-769.736938, 2423.740478, 161.240509, "Acro del Oeste"},
  450.     {-775.107543, 2454.568847, 155.394210, "Acro del Oeste"},
  451.     {-825.450378, 2423.629394, 154.799423, "Acro del Oeste"},
  452.     {-811.348144, 2392.648925, 154.081359, "Acro del Oeste"},
  453.     {-869.765625, 2308.967285, 161.556732, "Acro del Oeste"},
  454.     {-854.010314, 2395.529785, 90.695556, "Acro del Oeste"},
  455.     {-865.451293, 2353.720458, 99.970436, "Acro del Oeste"},
  456.     {-794.787414, 2267.457275, 58.976562, "Acro del Oeste"},
  457.     {-806.945800, 2257.034667, 59.155395, "Acro del Oeste"},
  458.     {-861.962158, 2275.708984, 69.768547, "Acro del Oeste"},
  459.     {-806.547485, 2257.323242, 70.167610, "Acro del Oeste"},
  460.     {-798.468383, 2249.032958, 52.464538, "Acro del Oeste"},
  461.     {-819.647888, 2380.772460, 128.528991, "Acro del Oeste"},
  462.     {-659.340942, 2310.784667, 137.731201, "Acro del Oeste"},
  463.     {-629.103271, 2387.976806, 128.003738, "Acro del Oeste"},
  464.     {-1967.813110, -923.389343, 32.226562, "Foster Valley"},
  465.     {-1975.327148, -895.343750, 35.289417, "Foster Valley"},
  466.     {-1945.200073, -1091.307373, 32.175434, "Foster Valley"},
  467.     {-1904.608642, -1029.386840, 32.223834, "Foster Valley"},
  468.     {-2059.095214, -989.335815, 32.171875, "Foster Valley"},
  469.     {-2100.027343, -862.919860, 32.171875, "Foster Valley"},
  470.     {-2153.603271, -793.245605, 31.976562, "Foster Valley"},
  471.     {-2065.419677, -811.472534, 32.171875, "Foster Valley"},
  472.     {-1964.095703, -726.187255, 37.390625, "Foster Valley"},
  473.     {-1970.476440, -729.316772, 37.682456, "Foster Valley"},
  474.     {-1971.316284, -729.375305, 38.024555, "Foster Valley"},
  475.     {-1954.998413, -894.500610, 35.890884, "Foster Valley"},
  476.     {-1952.155517, -991.665954, 35.890625, "Foster Valley"},
  477.     {-1971.808837, -988.987060, 32.226562, "Foster Valley"},
  478.     {-2040.327270, -734.473449, 32.171875, "Foster Valley"},
  479.     {-1954.255981, -763.292663, 35.890884, "Foster Valley"},
  480.     {-1934.306640, -817.633239, 35.277336, "Foster Valley"},
  481.     {-2154.379394, -889.910583, 32.171875, "Foster Valley"},
  482.     {-1933.880859, -957.182373, 35.292263, "Foster Valley"},
  483.     {-2077.329833, -876.431518, 32.171875, "Foster Valley"},
  484.     {-2021.934204, -889.969665, 30.179347, "Foster Valley"},
  485.     {-1967.698486, -923.311828, 32.226562, "Foster Valley"},
  486.     {-1975.518432, -881.348754, 35.289417, "Foster Valley"},
  487.     {-1949.256469, -866.676269, 32.226562, "Foster Valley"},
  488.     {-1893.254760, -884.175720, 31.968750, "Foster Valley"},
  489.     {-1939.472412, -792.035339, 32.226562, "Foster Valley"},
  490.     {-1944.139770, -744.467956, 32.226562, "Foster Valley"},
  491.     {-1938.702148, -702.345642, 32.171875, "Foster Valley"},
  492.     {-1912.550048, -715.325622, 32.158123, "Foster Valley"},
  493.     {-1890.561767, -715.974426, 32.171875, "Foster Valley"},
  494.     {-1314.880126, 2523.205566, 93.098388, "Aldea Malvada"},
  495.     {-1340.013183, 2566.662841, 92.453392, "Aldea Malvada"},
  496.     {-1342.981445, 2577.075195, 77.273002, "Aldea Malvada"},
  497.     {-1316.729370, 2595.577880, 73.072959, "Aldea Malvada"},
  498.     {-1300.144653, 2546.430664, 87.742187, "Aldea Malvada"},
  499.     {-1365.330444, 2531.653320, 87.216758, "Aldea Malvada"},
  500.     {-1289.671264, 2516.583984, 87.161216, "Aldea Malvada"},
  501.     {-1314.141967, 2528.084716, 87.613708, "Aldea Malvada"},
  502.     {-1369.994506, 2530.447753, 77.454376, "Aldea Malvada"},
  503.     {-1325.340332, 2516.338378, 87.046875, "Aldea Malvada"},
  504.     {-1324.558593, 2532.424560, 87.561912, "Aldea Malvada"},
  505.     {-1346.553466, 2565.318115, 80.643333, "Aldea Malvada"},
  506.     {-541.176086, -561.201354, 26.798007, "The Fallen Tree"},
  507.     {-504.101501, -539.727050, 25.523437, "The Fallen Tree"},
  508.     {-503.481170, -527.582458, 25.523437, "The Fallen Tree"},
  509.     {-475.996154, -552.346740, 33.121536, "The Fallen Tree"},
  510.     {-470.645874, -538.255004, 29.121538, "The Fallen Tree"},
  511.     {-466.353302, -468.697967, 25.523437, "The Fallen Tree"},
  512.     {-517.881530, -496.789825, 25.523437, "The Fallen Tree"},
  513.     {-620.473388, -472.812927, 25.523437, "The Fallen Tree"},
  514.     {-644.839599, -445.775238, 27.982749, "The Fallen Tree"},
  515.     {-586.403198, -398.734558, 24.491775, "The Fallen Tree"},
  516.     {-554.032104, -423.535186, 29.328639, "The Fallen Tree"},
  517.     {-488.099975, -449.957580, 42.387664, "The Fallen Tree"},
  518.     {-507.062316, -434.387115, 37.013797, "The Fallen Tree"},
  519.     {-501.433959, -570.266723, 24.771287, "The Fallen Tree"},
  520.     {-440.963348, -582.747680, 14.563718, "The Fallen Tree"},
  521.     {-624.458557, -561.871093, 26.267879, "The Fallen Tree"},
  522.     {-657.998779, -588.320190, 33.299449, "The Fallen Tree"},
  523.     {-505.762481, -522.940368, 36.364982, "The Fallen Tree"},
  524.     {-615.547546, -506.135650, 33.525276, "The Fallen Tree"},
  525.     {-596.443237, -526.158813, 33.525276, "The Fallen Tree"},
  526.     {-615.139038, -531.275512, 37.525276, "The Fallen Tree"},
  527.     {-624.562072, -509.588043, 33.459438, "The Fallen Tree"},
  528.     {-531.809875, -467.091979, 26.224544, "The Fallen Tree"}
  529. };
  530.  
  531. new Float:MoneyBagPos[3], MoneyBagFound=1, MoneyBagLocation[50], MoneyBagPickup, Timer[2];
  532.  
  533. //Hours, Minutes, Seconds, Milliseconds
  534. #define MoneyBagDelay(%1,%2,%3,%4) (%1*3600000)+(%2*60000)+(%3*1000)+%4
  535. //20 = 200,000 minimum 30 = 200,000 -> 500,000
  536. #define MoneyBagCash ((random(30)+20)*10000)
  537. //10 mins!
  538. #define MB_DELAY MoneyBagDelay(0, 10, 0, 0)
  539.  
  540. public OnFilterScriptInit()
  541. {
  542.     Timer[1] = SetTimer("MoneyBag", MB_DELAY, true);
  543.     return 1;
  544. }
  545.  
  546. forward MoneyBag();
  547. public MoneyBag()
  548. {
  549.     new string[175];
  550.     if(!MoneyBagFound)
  551.     {
  552.         format(string, sizeof(string), "**The {33FF66} Money bag {FFFFFF}has {FF0000} not {FFFFFF} been found, it is still hidden in {FFFF66} %s", MoneyBagLocation);
  553.         SendClientMessageToAll(-1, string);
  554.     }
  555.     else if(MoneyBagFound)
  556.     {
  557.         MoneyBagFound = 0;
  558.         new randombag = random(sizeof(MBSPAWN));
  559.         MoneyBagPos[0] = MBSPAWN[randombag][XPOS];
  560.         MoneyBagPos[1] = MBSPAWN[randombag][YPOS];
  561.         MoneyBagPos[2] = MBSPAWN[randombag][ZPOS];
  562.         format(MoneyBagLocation, sizeof(MoneyBagLocation), "%s", MBSPAWN[randombag][Position]);
  563.         format(string, sizeof(string), "**The {33FF66}Money Bag has been {FF0000} hidden in {FFFF66} %s!", MoneyBagLocation);
  564.         SendClientMessageToAll(-1, string);
  565.         MoneyBagPickup = CreatePickup(1550, 2, MoneyBagPos[0], MoneyBagPos[1], MoneyBagPos[2], -1);
  566.     }
  567.     return 1;
  568. }
  569.  
  570. public OnPlayerCommandText(playerid, cmdtext[])
  571. {
  572.     if(IsPlayerAdmin(playerid))
  573.     {
  574.         if(!strcmp("/gotomb", cmdtext, true))
  575.         {
  576.             SetPlayerPos(playerid, MoneyBagPos[0], MoneyBagPos[1] +3, MoneyBagPos[2]);
  577.             return SendClientMessage(playerid, -1, "You have been {FF0000}teleported {FFFFFF}to the {33FF66}money bag");
  578.         }
  579.         if(!strcmp("/startmb", cmdtext, true)) return MoneyBag();
  580.         if(!strcmp("/togglemb", cmdtext, true))
  581.         {
  582.             if(Timer[0] == 0)
  583.             {
  584.                 KillTimer(Timer[1]);
  585.                 Timer[0] = 1;
  586.                 SendClientMessage(playerid, -1, "Money bag turned {FF0000} off!");
  587.                 return 1;
  588.             }
  589.             if(Timer[0] == 1)
  590.             {
  591.                 Timer[1] = SetTimer("MoneyBag", MB_DELAY, true);
  592.                 Timer[0] = 0;
  593.                 SendClientMessage(playerid, -1, "Money bag turned {33FF66} on!");
  594.                 return 1;
  595.             }
  596.             return 1;
  597.         }
  598.        
  599.     }
  600.     if(!strcmp("/moneybag", cmdtext, true))
  601.     {
  602.         new string[150];
  603.         if(!MoneyBagFound) format(string, sizeof(string), "**The {33FF66}Money Bag has been {FF0000}hidden in {FFFF66}%s!", MoneyBagLocation);
  604.         if(MoneyBagFound) format(string, sizeof(string), "**The {33FF66}Money Bag is {FF0000} not running!");
  605.         return SendClientMessage(playerid, -1, string);
  606.     }
  607.     return 0;
  608. }
  609.  
  610. public OnPlayerPickUpPickup(playerid, pickupid)
  611. {
  612.     if(pickupid == MoneyBagPickup)
  613.     {
  614.         new string[180], pname[24], money = MoneyBagCash;
  615.         GetPlayerName(playerid, pname, 24);
  616.         format(string, sizeof(string), "** {99FFFF}%s{FFFFFF} has found the {33FF66}money bag{FFFFFF} that had {33FF00}$%d {FFFFFF}inside, located in %s", pname, money, MoneyBagLocation);
  617.         MoneyBagFound = 1;
  618.         SendClientMessageToAll(-1, string);
  619.         DestroyPickup(MoneyBagPickup);
  620.         SendClientMessage(playerid, -1, "You have found the {33FF66} Money Bag!");
  621.         GivePlayerMoney(playerid, money);
  622.         ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
  623.     }
  624.     return 1;
  625. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement