Код:
new checkpointData[MAX_ROB_CHECKPOINT][robberyCheckpoints] =
{
{1, {-236244.1946, 1411.4656, 7.0938}, {-26336.7800, 1403.4661, 906.4609}, {-26366.4624, 1426.7899, 906.4609}, 1, 2000, 8000, 3, 3, "DEFAULT LOC", 0},
{2, {-1808.0221, 945.4167, 24.8906}, {372.3125, -132.8916, 1001.4922}, {376.9215, -115.4863, 1001.4922}, 1, 1000, 2000, 4, 5, "Well Stacked Pizza", 0},
{3, {-1809.8201, 902.8481, 24.8906}, {207.6829, -110.6515, 1005.1328}, {207.5093, -101.3514, 1005.2578}, 1, 1000, 2000, 5, 15, "Binco Clothing", 0},
{4, {-1912.1155, 828.2896, 35.2092}, {363.4346, -74.6586, 1001.5078}, {378.0959, -59.7760, 1001.5078}, 1, 1000, 2000, 6, 10, "Burger Shot", 0},
{5, {-2356.5769, 1008.0867, 50.8984}, {363.4346, -74.6586, 1001.5078}, {378.0959, -59.7760, 1001.5078}, 1, 1000, 2000, 7, 10, "Burger Shot", 0},
{6, {-2374.5620, 910.0986, 45.4453}, {207.6829, -110.6515, 1005.1328}, {207.5093, -101.3514, 1005.2578}, 1, 1000, 2000, 8, 15, "Binco Clothing", 0},
{7, {-2419.5413, 969.8095, 45.2969}, {-31.0479, -91.4085, 1003.5469}, {-27.9818, -89.7512, 1003.5469}, 1, 1000, 2000, 9, 18, "24/7", 0},
{8, {-2242.4927, 128.6444, 35.3203}, {-2239.8569, 137.2601, 1035.4141}, {-2221.7893, 134.7148, 1035.6328}, 1, 1000, 2000, 10, 6, "Zero's RC Shop", 0},
{9, {-2269.7893, -155.9303, 35.3203}, {774.2042, -49.7428, 1000.5859}, {767.6898, -22.9267, 1000.5859}, 1, 1000, 2000, 11, 6, "San Fierro Gym", 0},
{10, {-2026.6393, -101.4065, 35.1641}, {-2026.8571, -104.0733, 1035.1719}, {-2031.8470, -117.4275, 1035.1719}, 1, 1000, 2000, 12, 3, "Driving School", 0},
{11, {-2571.1897, 246.5445, 10.3081}, {411.6910, -22.8669, 1001.8047}, {414.4622, -10.7796, 1001.8120}, 1, 1000, 2000, 13, 2, "Barber Shop", 0},
{12, {-2625.8931, 208.5265, 4.6150}, {315.7365, -143.0907, 999.6016}, {313.5016, -134.0640, 999.6016}, 1, 1000, 3000, 14, 7, "Ammunation", 0},
{13, {-2767.4424, 788.8062, 52.7813}, {377.1708, -192.7061, 1000.6401}, {381.0800, -188.2198, 1000.6328}, 1, 1000, 2000, 15, 17, "Donut Shop", 0},
{14, {-1694.4790, 950.8422, 24.8906}, {226.9353, -8.2048, 1002.2109}, {204.5254, -8.3194, 1001.2109}, 1, 1000, 2000, 16, 5, "Victim Clothing Store", 0},
{15, {-1816.5928, 617.7781, 35.1719}, {365.0151, -11.0958, 1001.8516}, {369.7530, -7.6813, 1001.8589}, 1, 1000, 2000, 17, 9, "Cluckin' Bell", 0},
{16, {-1883.0643, 865.8884, 35.1719}, {161.4177, -96.4533, 1001.8047}, {161.5182, -78.5563, 1001.8047}, 1, 1000, 2000, 18, 18, "Zip Clothing Store", 0},
{17, {-1721.7911, 1359.6581, 7.1853}, {372.3125, -132.8916, 1001.4922}, {376.9215, -115.4863, 1001.4922}, 1, 1000, 2000, 19, 5, "Well Stacked Pizza", 0},
{18, {-2672.3210, 258.8806, 4.6328}, {365.0151, -11.0958, 1001.8516}, {369.7530, -7.6813, 1001.8589}, 1, 1000, 2000, 20, 9, "Cluckin' Bell", 0},
{19, {-2491.6086, -38.9503, 25.7656}, {-204.3975, -8.6990, 1002.2734}, {-201.7257, -4.8095, 1002.2734}, 1, 1000, 2000, 21, 17, "Tattoo Parlour", 0},
{20, {-2336.4358, -166.8006, 35.5547}, {363.4346, -74.6586, 1001.5078}, {378.0959, -59.7760, 1001.5078}, 1, 1000, 2000, 22, 10, "Burger Shot", 0},
{21, {-1617.2423, 1122.7692, 7.1875}, {-27.4370, -57.7182, 1003.5469}, {-23.2931, -55.1251, 1003.5469}, 1, 1000, 2000, 23, 6, "24/7", 0},
{22, {-2128.6099, 707.1724, 69.5625}, {-100.4073, -24.4975, 1000.7188}, {-106.5551, -8.3633, 1000.7188}, 1, 1000, 2000, 24, 3, "Sex Shop", 0},
{23, {-2442.6143, 754.8221, 35.1719}, {2840.7444, 2444.7473, 1786.4811}, {2829.8132, 2450.0747, 1786.4811}, 1, 1000, 2000, 27, 90, "Supa Save", 0},
{24, {-1605.6772, 711.3550, 13.8672}, {246.4087, 107.7346, 1003.2188}, {2829.8132, 2450.0747, 1786.4811}, 1, 1000, 2000, 25, 10, "SFPD", 0},
{25, {-2491.3083, -29.0240, 25.7656}, {203.8098, -49.9331, 1001.8047}, {203.8152, -39.8591, 1001.8047}, 1, 1000, 2000, 29, 1, "Suburban", 0},
{26, {-2242.6484, 674.1745, 49.4453}, {418.6246, -83.8433, 1001.8047}, {418.3450, -75.4491, 1001.8047}, 1, 1000, 2000, 30, 3, "Barber Shop", 0},
{27, {-2551.1594, 193.7173, 6.2271}, {493.4372, -24.1395, 1000.6797}, {474.8086, -13.9634, 1003.6953}, 1, 1000, 2000, 31, 17, "Gaydar Station", 0},
{28, {-1493.8738, 920.0506, 7.1875}, {-468.1987, -196.4525, 984.3784}, {-482.3770, -179.8462, 971.8191}, 1, 2000, 12000, 32, 3, "San Fierro Bank", 0},
{29, {-1675.8157, 431.9064, 7.1797}, {-31.0479, -91.4085, 1003.5469}, {-27.9818, -89.7512, 1003.5469}, 1, 1000, 2000, 33, 18, "Gas Station", 0},
{30, {-2156.8938, 151.3933, 35.3203}, {-100.4073, -24.4975, 1000.7188}, {-106.5551, -8.3633, 1000.7188}, 1, 1000, 2000, 34, 3, "Sex Shop", 0},
{31, {-2048.9309, 554.4623, 35.1719}, {206.9717, -139.9056, 1003.5078}, {207.1456, -130.0347, 1003.5078}, 1, 1000, 2000, 35, 3, "Pro Laps", 0},
{32, {-2177.4419, -42.2777, 35.3125}, {501.9236, -68.1505, 998.7578}, {496.3597, -75.2304, 998.7578}, 1, 1000, 2000, 36, 11, "10 Green Bottles", 0},
{33, {-2624.1946, 1411.4656, 7.0938}, {-2636.7800, 1403.4661, 906.4609}, {-2666.4624, 1426.7899, 906.4609}, 1, 2000, 8000, 3, 3, "Pleasure Dome", 0},
{34, {-1758.0052, 1083.5776, 45.4453}, {363.4346, -74.6586, 1001.5078}, {378.0959, -59.7760, 1001.5078}, 1, 1000, 2000, 7, 10, "Burger Shot", 0},
{35, {-1731.3148, 1084.0166, 45.4453}, {161.4177, -96.4533, 1001.8047}, {161.5182, -78.5563, 1001.8047}, 1, 1000, 2000, 18, 18, "Zip Clothing Store", 0},
{36, {-1667.1660, 1202.7645, 7.2500}, {-644.3752, 1595.6836, 1027.5159}, {-651.5170, 1598.4626, 1027.5159}, 1, 1000, 8000, 18, 18, "Otto's Autos", 0},
{37, {-1670.6616, 903.5870, 24.8906}, {-100.4073, -24.4975, 1000.7188}, {-106.5551, -8.3633, 1000.7188}, 1, 1000, 4000, 36, 3, "Underground Sex Shop", 0},
{38, {-1728.6647, 667.7780, 25.0605}, {372.3125, -132.8916, 1001.4922}, {376.9215, -115.4863, 1001.4922}, 1, 1000, 2000, 19, 5, "Well Stacked Pizza", 0},
{39, {-1728.6912, 685.9053, 25.0627}, {203.8098, -49.9331, 1001.8047}, {203.8152, -39.8591, 1001.8047}, 1, 1000, 2000, 29, 1, "Suburban", 0},
{40, {-1991.0033, 884.6758, 45.3080}, {296.8782, -111.3577, 1001.5156}, {289.1109, -104.0273, 1001.5229}, 1, 1000, 2000, 30, 6, "Ammunation", 0},
{41, {-2655.1489, 639.9879, 14.4545}, {-2695.6672, 628.3447, 498.4039}, {-2693.3284, 697.9178, 498.4039}, 1, 2000, 8000, 3, 3, "Hospital", 0},
{42, {-1422.4376, -286.4473, 14.1484}, {-1536.8206, -215.6657, 932.8771}, {-1499.7970, -259.2257, 932.9431}, 1, 2000, 8000, 3, 3, "Airport", 0}
},
checkpointIndex[MAX_ROB_CHECKPOINT][3],
Text3D:checkpointLabel[MAX_ROB_CHECKPOINT][3][2];
forward loadMapIcons(playerid);
public loadMapIcons(playerid)
{
SetPlayerMapIcon(playerid, MAP_ICON_TGBOTTLES, -2177.4419, -42.2777, 35.3125, 45, 0, MAPICON_LOCAL); // Icon for prolaps
SetPlayerMapIcon(playerid, MAP_ICON_PROLAPS, -2048.9309, 554.4623, 35.1719, 45, 0, MAPICON_LOCAL); // Icon for prolaps
SetPlayerMapIcon(playerid, MAP_ICON_BURGERSHOT, -2336.4990, -167.1285, 35.5547, 10, 0, MAPICON_LOCAL); // Icon for burgershot
SetPlayerMapIcon(playerid, MAP_ICON_SEX_SHOP2, -2156.8938, 151.3933, 35.3203, 38, 0, MAPICON_LOCAL); // Icon for sex shop 2
SetPlayerMapIcon(playerid, MAP_ICON_PLEASURE_DOME, -2624.1946, 1411.4656, 7.0938, 21, 0, MAPICON_LOCAL); // Icon for Pleasure Dome
SetPlayerMapIcon(playerid, MAP_ICON_BINCO_CLOTHING_1, -1809.8201, 902.8481, 24.8906, 45, 0, MAPICON_LOCAL); // Icon for Binco Clothing #1
SetPlayerMapIcon(playerid, MAP_ICON_BINCO_CLOTHING_2, -2374.5620, 910.0986, 45.4453, 45, 0, MAPICON_LOCAL); // Icon for Binco Clothing #2
SetPlayerMapIcon(playerid, MAP_ICON_247_1, -2419.5413, 969.8095, 45.2969, 17, 0, MAPICON_LOCAL); // Icon for 24/7 #1
SetPlayerMapIcon(playerid, MAP_ICON_ZEROS_RC_SHOP, -2242.4927, 128.6444, 35.3203, 47, 0, MAPICON_LOCAL); // Icon for Zero's RC Shop
SetPlayerMapIcon(playerid, MAP_ICON_SF_GYM, -2269.7893, -155.9303, 35.3203, 54, 0, MAPICON_LOCAL); // Icon for San Fierro Gym
SetPlayerMapIcon(playerid, MAP_ICON_DRIVING_SCHOOL, -2026.6393, -101.4065, 35.1641, 55, 0, MAPICON_LOCAL); // Icon for San Driving School
SetPlayerMapIcon(playerid, MAP_ICON_DONUT_SHOP, -2767.4424, 788.8062, 52.7813, 17, 0, MAPICON_LOCAL); // Icon for Donut Shop
SetPlayerMapIcon(playerid, MAP_ICON_VICTIM_CLOTHING, -1694.4790, 950.8422, 24.8906, 45, 0, MAPICON_LOCAL); // Icon for Victim Clothing
SetPlayerMapIcon(playerid, MAP_ICON_ZIP_CLOTHING, -1883.0643, 865.8884, 35.1719, 45, 0, MAPICON_LOCAL); // Icon for Zip Clothing
SetPlayerMapIcon(playerid, MAP_ICON_247_2, -1617.2423, 1122.7692, 7.1875, 17, 0, MAPICON_LOCAL); // Icon for 24/7 #2
SetPlayerMapIcon(playerid, MAP_ICON_SEX_SHOP, -2128.6099, 707.1724, 69.5625, 38, 0, MAPICON_LOCAL); // Icon for Sex Shop
SetPlayerMapIcon(playerid, MAP_ICON_RANDOM_STORE, -2242.4578, 674.2098, 49.4453, 7, 0, MAPICON_LOCAL); // Icon for Random Store
SetPlayerMapIcon(playerid, MAP_ICON_SUPA_SAVE, -2442.6143, 754.8221, 35.1719, 17, 0, MAPICON_LOCAL); // Icon for Supa Save
SetPlayerMapIcon(playerid, MAP_ICON_HOSPITAL_2, -1992.5721, 1041.8290, 55.7122, 22, 0, MAPICON_LOCAL); // Icon for Hospital
SetPlayerMapIcon(playerid, MAP_ICON_VIP_LOUNGE, -1782.9896, 572.3909, 35.1641, 62, 0, MAPICON_LOCAL); // Icon for VIP Lounge
SetPlayerMapIcon(playerid, MAP_ICON_CLUCKIN_BELL_1, -1816.6641, 617.7444, 35.1719, 14, 0, MAPICON_LOCAL); // Icon for Cluckin' Bell
SetPlayerMapIcon(playerid, MAP_ICON_GAYDAR_STATION, -2551.1594, 193.7173, 6.2271, 48, 0, MAPICON_LOCAL); // Icon for Gaydar Station
SetPlayerMapIcon(playerid, MAP_ICON_AMMUNATION, -2625.8931, 208.5265, 4.6150, 6, 0, MAPICON_LOCAL); // Icon for Ammunation
SetPlayerMapIcon(playerid, MAP_ICON_CLUCKIN_BELL_2, -2672.3398, 258.5685, 4.6328, 14, 0, MAPICON_LOCAL); // Icon for Cluckin' Bell
SetPlayerMapIcon(playerid, MAP_ICON_TOWN_HALL, -2765.8337, 375.6069, 6.3347, 56, 0, MAPICON_LOCAL); // Icon for Town Hall
SetPlayerMapIcon(playerid, MAP_ICON_SFPD, -1605.6772, 711.3550, 13.8672, 30, 0, MAPICON_LOCAL); // Icon for SFPD
SetPlayerMapIcon(playerid, MAP_ICON_DRUGDEALER, -2124.1316, -206.2206, 35.3203, 24, 0, MAPICON_LOCAL); // Icon for drug dealer HQ
SetPlayerMapIcon(playerid, MAP_ICON_GAS_STATION, -1675.8157, 431.9064, 7.1797, 17, 0, MAPICON_LOCAL); // Icon for gas station
SetPlayerMapIcon(playerid, MAP_ICON_PIZZA_STACK, -1721.7919, 1359.3721, 7.1853, 29, 0, MAPICON_LOCAL); // Icon for gas station
SetPlayerMapIcon(playerid, MAP_ICON_SKYDIVE, -1830.3862, 572.7914, 35.1641, 56, 0, MAPICON_LOCAL); // Icon for gas station
SetPlayerMapIcon(playerid, MAP_ICON_BOMB_SHOP, -1787.0114, 1207.0797, 25.1250, 8, 0, MAPICON_LOCAL); // Icon for bomb shop
SetPlayerMapIcon(playerid, MAP_ICON_BANK, -1500.2130, 919.8679, 7.1875, 52, 0, MAPICON_LOCAL); // Icon for bank
SetPlayerMapIcon(playerid, MAP_ICON_TRUCKING, -1838.5251, 146.5409, 15.1172, 42, 0, MAPICON_LOCAL); // Icon for trucking
SetPlayerMapIcon(playerid, MAP_ICON_ADMINLOUNGE, -2036.5284, 1196.7173, 46.2395, 19, 0, MAPICON_LOCAL); // Icon for admin lounge
SetPlayerMapIcon(playerid, MAP_ICON_BURGERSHOT_2, -1912.1063, 828.3687, 35.2096, 10, 0, MAPICON_LOCAL); // Icon for burger shot
SetPlayerMapIcon(playerid, MAP_ICON_DEALERSHIP, -1932.4017, 273.9533, 41.0391, 55, 0, MAPICON_LOCAL); // Icon for dealership
SetPlayerMapIcon(playerid, MAP_ICON_BURGERSHOT_3, -1758.0052, 1083.5776, 45.4453, 10, 0, MAPICON_LOCAL); // Icon for burger shot
SetPlayerMapIcon(playerid, MAP_ICON_ZIP_CLOTHING_2, -1731.3148, 1084.0166, 45.4453, 45, 0, MAPICON_LOCAL); // Icon for Zip Clothing
SetPlayerMapIcon(playerid, MAP_ICON_TRUCKING_2, -1859.7853, 1406.2252, 7.1875, 42, 0, MAPICON_LOCAL); // Icon for trucking
SetPlayerMapIcon(playerid, MAP_ICON_JOBCENTRE, -1885.1152, 826.8466, 35.1728, 56, 0, MAPICON_LOCAL); // Icon for job centre
SetPlayerMapIcon(playerid, MAP_ICON_SUBURBAN, -1728.6912, 685.9053, 25.0627, 45, 0, MAPICON_LOCAL); // Icon for suburban
SetPlayerMapIcon(playerid, MAP_ICON_PIZZA_STACK_2, -1728.6647, 667.7780, 25.0605, 29, 0, MAPICON_LOCAL); // Icon for pizza stack
SetPlayerMapIcon(playerid, MAP_ICON_SEX_SHOP_2, -1670.6616, 903.5870, 24.8906, 38, 0, MAPICON_LOCAL); // Icon for sex shop
SetPlayerMapIcon(playerid, MAP_ICON_MINIGAMES, -1551.0940, 1168.6372, 7.1875, 23, 0, MAPICON_LOCAL); // Icon for minigames
SetPlayerMapIcon(playerid, MAP_ICON_AMMUNATION_2, -1991.0033, 884.6758, 45.3080, 6, 0, MAPICON_LOCAL); // Icon for Ammunation
}
That's based in San Fierro, may need some editing. Just an example of course.