RobberyCheckpoints.inc
#1

Hey guys, my friend and me are currently hosting a server.
We want to add new stores so i made code here it is:-

Код:
#define MAX_ROB_CHECKPOINT			(45)
forward placeAllCheckpoints();

enum robberyCheckpoints
{
	storeID,
	Float:enterpointLoc[3],
	Float:exitpointLoc[3],
	Float:robpointLoc[3],
	storeStatus,
	lowestCash,
	highestCash,
	virtualWorld,
	interiorWorld,
	storeName[25],
	lastRobbed,
	storePrice,
	storeOwner,
	Float:storeActorPos[4],
	storeActorSkin,
	storeActor,
	storeMoney
}

new checkpointData[MAX_ROB_CHECKPOINT][robberyCheckpoints] =
{
	/*
	    - storeID		- this is the store ID, continue the pattern.
		- checkpointLoc	- x, y, z location for entering the interior (this is also the place the player ends up being after leaving the interior)
		- exitpointLoc 	- x, y, z location for leaving the interior (this is also the place the player ends up being after entering the interior)
		- robpointLoc	- x, y, z location for the actual robbery checkpoint
		- storeStatus 	- leave it at 1, server will modify this on the fly.
		- lowestCash 	- certain interiors will give more than others, this is how you define the lowest amount that store will ever produce from a robbery.
		- highestCash 	- same as above, just this is the highest amount.
		- virtualWorld	- this tells the server which world to throw you in, this is so you only get player markers of people who are in the same store as you.
		- interiorWorld	- this tells the server which interior to put you in.
		- storeName		- this defines the name of the store for the text labels, and robbery reports "Jake has robbed Cluckin' Bell" etc.
		- lastRobbed	- this tells the server when the store was last robbed.
		- storePrice	- store price
		- storeOwner	- (-1 for manual load / 0 for "CZCNR Server")
	*/

	{1, {-1474.8071, 1488.8768, 8.2501}, {-794.9675, 490.1811, 1376.1953}, {-788.3607, 497.5167, 1371.7422}, 1, 4000, 8000, 3, 1, "Liberty city inside", 0, 10000000, -1, {-782.329528, 498.319580, 1371.749023, 2.251684}, 172},
	{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, 2000000, -1, {374.696685, -117.276351, 1001.492187, 177.022628}, 155},
	{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, 2000000, -1, {208.833709, -98.698005, 1005.257812, 177.075088}, 211},
	{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, 2000000, -1, {376.522827, -65.816207, 1001.507812, 180.815185}, 205},
	{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, 2000000, -1, {376.519958, -65.843879, 1001.507812, 179.558975}, 205},
	{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, 2000000, -1, {208.861343, -98.704345, 1005.257812, 180.398117}, 211},
	{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, 2000000, -1, {-26.949274, -91.619873, 1003.546875, 352.283081}, 169},
	{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, 2000000, -1, {-2238.027099, 128.567733, 1035.414062, 357.905670}, 289},
	{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, 2000000, -1, {770.653015, -23.000875, 1000.585937, 89.111244}, 203},
	{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, 2000000, -1, {-2034.843505, -116.826049, 1035.171875, 262.945922}, 147},
	{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, 2000000, -1, {413.963409, -15.673501, 1001.804687, 94.832908}, 156},
	{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, 3500000, -1, {307.659606, -143.096420, 999.601562, 355.796386}, 179},
	{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, 2000000, -1, {380.661956, -186.032775, 1000.632812, 89.597389}, 223},
 	{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, 2000000, -1, {206.485931, -8.191709, 1005.210937, 270.467468}, 211},
	{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, 2000000, -1, {368.122558, -4.490753, 1001.851562, 177.928573}, 167},
	{16, {-1883.0643, 865.8884, 35.1719}, {161.4177, -96.4533, 1001.8047}, {161.5182, -78.5563, 1001.8047}, 1, 1000, 2000, 19, 18, "Zip Clothing Store", 0, 2000000, -1, {159.706726, -81.185356, 1001.811950, 180.781600}, 211},
	{17, {-1721.7911, 1359.6581, 7.1853}, {372.3125, -132.8916, 1001.4922}, {376.9215, -115.4863, 1001.4922}, 1, 1000, 2000, 5, 5, "Well Stacked Pizza", 0, 2000000, -1, {374.695159, -117.254089, 1001.492187, 179.428009}, 155},
	{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, 2000000, -1, {370.863464, -4.491076, 1001.858886, 175.850357}, 167},
	{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, 2000000, -1, {-204.353164, -5.124205, 1002.273437, 227.064208}, 180},
	{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, 2000000, -1, {376.494506, -65.835296, 1001.507812, 180.908065}, 205},
	{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, 2000000, -1, {-23.670997, -57.340026, 1003.546875, 353.511505}, 188},
	{22, {-2128.6099, 707.1724, 69.5625}, {-100.4073, -24.4975, 1000.7188}, {-106.5551, -8.3633, 1000.7188}, 1, 1000, 3000, 24, 3, "Sex Shop", 0, 3000000, -1, {-104.749305, -8.913148, 1000.718750, 176.996566}, 246},
	{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, 2000000, -1, {2830.726074, 2455.974853, 1786.481079, 359.617950}, 141},
	{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, 0, 0, {0.0, 0.974853, 0.481079, 0.617950}, 12},
	{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, 2000000, -1, {203.220245, -41.668952, 1001.804687, 179.449630}, 211},
	{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, 2000000, -1, {421.622009, -74.785354, 1001.804687, 137.658065}, 177},
	{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, 2000000, -1, {476.092620, -15.379406, 1003.695312, 261.423431}, 257},
	{28, {-1494.0299,920.0055,7.1875}, {2935.2236,-1803.4063,1191.0657}, {2942.4832,-1770.9304,1178.5847}, 1, 2000, 18000, 144, 0, "San Fierro Bank", 0, 0, 0, {2948.2803, -1801.8721, 1191.0657, 89.9012}, 150},
	{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, 2000000, -1, {-26.941997, -91.636978, 1003.546875, 357.998565}, 216},
	{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, 2000000, -1, {-104.807029, -8.914463, 1000.718750, 179.619979}, 178},
	{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, 2000000, -1, {207.773345, -127.796264, 1003.507812, 180.623397}, 211},
	{32, {-2177.4419, -42.2777, 35.3125}, {501.9236, -68.1505, 998.7578}, {496.3597, -75.2304, 998.7578}, 1, 1000, 6000, 36, 11, "10 Green Bottles", 0, 5000000, -1, {496.382354, -77.463447, 998.765075, 357.183166}, 100},
	{33, {-2624.1946, 1411.4656, 7.0938}, {-2636.7800, 1403.4661, 906.4609}, {-2666.4624, 1426.7899, 906.4609}, 1, 2000, 7000, 3, 3, "Pleasure Dome", 0, 10000000, -1, {-2656.170166, 1413.959106, 906.273437, 1.049970}, 85},
	{34, {-1758.0052, 1083.5776, 45.4453}, {363.4346, -74.6586, 1001.5078}, {378.0959, -59.7760, 1001.5078}, 1, 1000, 3000, 23, 10, "Burger Shot", 0, 2000000, -1, {376.546112, -65.846466, 1001.507812, 175.564590}, 205},
	{35, {-1731.3148, 1084.0166, 45.4453}, {161.4177, -96.4533, 1001.8047}, {161.5182, -78.5563, 1001.8047}, 1, 1000, 3000, 18, 18, "Zip Clothing Store", 0, 2000000, -1, {162.780761, -81.187232, 1001.804687, 178.068008}, 211},
	{36, {-1667.1660, 1202.7645, 7.2500}, {-644.3752, 1595.6836, 1027.5159}, {-651.5170, 1598.4626, 1027.5159}, 1, 1000, 7000, 18, 18, "Otto's Autos", 0, 10000000, -1, {-651.081542, 1595.195190, 1028.285888, 269.724853}, 141},
	{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, 5000000, -1, {-104.765281, -8.906594, 1000.718750, 178.150604}, 246},
	{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, 2000000, -1, {376.650207, -117.265365, 1001.492187, 178.661758}, 155},
	{39, {-1728.6912, 685.9053, 25.0627}, {203.8098, -49.9331, 1001.8047}, {203.8152, -39.8591, 1001.8047}, 1, 1000, 2000, 30, 1, "Suburban", 0, 2000000, -1, {204.947982, -41.325241, 1001.804687, 268.181304}, 211},
	{40, {-1910.3787, 883.5793, 35.1719}, {285.541687, -41.057380, 1001.515625}, {297.028228, -40.614536, 1001.515625}, 1, 2000, 5000, 112, 1, "Ammunation", 0, 5000000, -1, {295.161499, -40.215602, 1001.515625, 357.909210}, 179},
    {41, {-2129.2578,643.7931,52.3672}, {6.2483,-30.8078,1003.5494}, {-10.2011,-3.9657,1003.5494}, 1, 2000, 5000, 12, 10, "24/7", 0, 5000000, -1, {451.374633, -82.223197, 999.554687, 172.244384}, 226},
    {42, {-1987.9539,203.9813,27.6799}, {459.4670, -88.3607, 999.5547}, {449.1274, -80.8677, 999.5547}, 1, 2000, 7000, 13, 4, "lol xD", 0, 5000000, -1, { 451.396240, -82.224082, 999.554687, 175.564941}, 226},
	{43, {-2110.6672, 1477.6411, 8.3190}, {296.9241, -111.8708, 1000.5577}, {287.6981, -104.2885, 1000.5582}, 1, 3000, 8000, 101, 6, "Ammunition 3", 0, 5000000, -1, {288.5231, -112.0078, 1001.5263, 356.909210, 179}
 //{45, {-2045.8406,-248.7906,35.3766}, {493.390991,-22.722799,1000.679687}, {487.7772,-2.4134,1002.3828}, 1, 2000, 7000, 14, 17, "ROFL Club", 0}
	/*{44, {-315.655334, 829.767700, 14.242187}, {285.759826, -86.183395, 1001.522888}, {295.144134, -84.230407, 1001.515625}, 1, 2000, 5000, 111, 4, "Fort Carson Ammunation", 0},
	{45, {-1910.3787, 883.5793, 35.1719}, {285.541687, -41.057380, 1001.515625}, {297.028228, -40.614536, 1001.515625}, 1, 2000, 5000, 112, 1, "Bone County Ammunation", 0},
	{46, {1158.354492, 2072.197753, 11.062500}, {363.428833, -74.612678, 1001.507812}, {379.466674, -59.718494, 1001.507812}, 1, 2000, 5000, 113, 10, "LV Burger Shot", 0},
	{47, {1658.586791, 2250.944091, 11.070102}, {1133.372924, -14.776949, 1000.679687}, {1134.328979, 7.094311, 1002.085937}, 1, 2000, 5000, 114, 12, "Redsands West Casino", 0},
	{48, {2195.685058, 1677.159423, 12.367187}, {2233.820556, 1714.131469, 1012.351684}, {2258.670898, 1577.963378, 1008.359375}, 1, 2000, 6000, 115, 1, "Caligula's Casino", 0},
	{49, {2351.880859, 2532.928955, 10.820312}, {372.413085, -132.987838, 1001.492187}, {376.667755, -114.979225, 1001.492187}, 1, 2000, 5000, 116, 5, "LV Pizza Stack", 0},
	{50, {2169.945068, 2795.867431, 10.820312}, {363.592285, -74.681259, 1001.507812}, {378.373199, -60.577957, 1001.507812}, 1, 2000, 5000, 117, 10, "Spinybed Burger Shot", 0},
	{51, {2472.408203, 2034.153564, 11.062500}, {363.672027, -74.500679, 1001.507812}, {379.001007, -59.799335, 1001.507812}, 1, 2000, 5000, 118, 10, "Old Venturas Burger Shot", 0},
	{52, {2452.529296, 2064.524902, 10.820312}, {459.687377, -88.427200, 999.554687}, {449.141021, -80.939079, 999.554687}, 1, 2000, 5000, 119, 4, "Las Venturas Cafe", 0},
	{53, {2393.291748, 2042.497680, 10.820312}, {364.918701, -11.332010, 1001.851562}, {370.635528, -4.160920, 1001.858886}, 1, 2000, 5000, 125, 9, "LV Cluckin Bell", 0},
	{54, {2546.448242, 1971.896362, 10.820312}, {-228.652557, 1401.175659, 27.765625}, {-219.683227, 1404.992553, 27.773437}, 1, 2000, 5000, 122, 18, "Las Venturas Bar", 0},
	{55, {2194.236572, 1991.201782, 12.296875}, {-228.457916, 1401.307373, 27.765625}, {-219.887207, 1405.368408, 27.773437}, 1, 2000, 5000, 123, 18, "Las Venturas Bar", 0},
	{56, {2019.966186, 1007.700744, 10.820312}, {2018.841308, 1017.981201, 996.875000}, {1953.180786, 1018.149963, 992.468750}, 1, 2000, 5000, 124, 10, "Four Dragons Casino", 0},
	{57, {2158.940185, 943.290039, 10.820312}, {316.386322, -169.615539, 999.601013}, {311.312255, -168.642013, 999.593750}, 1, 2000, 4000, 125, 6, "New Ammunation", 0,
	{58, {1872.924804, 2071.870117, 11.062500}, {363.322509, -74.695724, 1001.507812}, {379.079711, -60.342433, 1001.507812}, 1, 2000, 4000, 126, 10, "Burger Shot", 0},
	{59, {1968.715576, 2295.070556, 16.455863}, {773.888366, -78.122055, 1000.661743}, {759.677307, -76.118057, 1000.651245}, 1, 2000, 5000, 127, 7, "Below The Belt Gym", 0},
	{60, {2247.723144, 2396.677734, 10.820312}, {-228.750350, 1401.175659, 27.765625}, {-219.951858, 1404.719726, 27.773437}, 1, 2000, 4000, 128, 18, "Las Venturas Bar", 0},
	{61, {2375.519775, 2306.846435, 8.140625}, {1494.522094, 1303.955688, 1093.289062}, {1491.884643, 1306.430664, 1093.296386}, 1, 2000, 7000, 129, 3, "Bike School", 0},
	{62, {2366.409912, 2071.030517, 10.820312}, {363.311767, -74.728561, 1001.507812}, {379.527374, -60.328311, 1001.507812}, 1, 2000, 5000, 130, 10, "LV Burger Shot", 0},
	{63, {2094.721191, 2122.260498, 10.820312}, {-204.481613, -43.915931, 1002.273437}, {-203.757263, -41.008277, 1002.273437}, 1, 2000, 5000, 131, 3, "LV Tattoo Parlor", 0},
	{64, {1656.463256, 1733.217163, 10.828111}, {207.733306, -110.607978, 1005.132812}, {207.668243, -97.943222, 1005.257812}, 1, 2000, 6000, 132, 15, "LV Binco", 0},}
	{65, {2538.533935, 2083.906738, 10.820312}, {285.530059, -41.221454, 1001.515625}, {294.993896, -40.685474, 1001.515625}, 1, 2000, 6000, 133, 1, "Las Venturas Ammunation", 0},
	{66, {2420.386718, 2064.722656, 10.820312}, {-100.522171, -24.413837, 1000.718750}, {-106.359481, -8.404173, 1000.718750}, 1, 2000, 4000, 134, 3, "LV Sex Shop", 0},
	{67, {2506.947998, 2121.073242, 10.840000}, {1204.656860, -13.187541, 1000.921875}, {1220.555297, 7.694766, 1001.335632}, 1, 2000, 7000, 135, 2, "69 Bar", 0},
	{68, {2018.134033, 1919.831665, 12.341872}, {1133.160522, -14.668733, 1000.679687}, {1131.471313, 6.788091, 1002.085937}, 1, 2000, 5000, 136, 12, "The Visage Bar", 0},
	{69, {1961.423950, 2447.766357, 11.178249}, {-25.897472, -187.154968, 1003.546875}, {-28.532539, -184.522415, 1003.546875}, 1, 2000, 6000, 137, 17, "Las Venturas 24/7", 0},
	{70, {-254.382659, 2603.235107, 62.858154}, {2214.914306, -1150.658447, 1025.796875}, {2246.864257, -1161.518188, 1029.796875}, 1, 2000, 6000, 138, 15, "Biker Rest Area", 0},
	{71, {-553.198181, 2593.824707, 53.934780}, {964.591674, 2160.037353, 1011.030273}, {936.181091, 2161.832763, 1011.030273}, 1, 2000, 5000, 139, 1, "Drug Factory", 0},
	{72, {-857.356384, 1536.172363, 22.587043}, {-228.852706, 1401.287841, 27.765625}, {-219.969497, 1405.454833, 27.773437}, 1, 2000, 5000, 141, 18, "Smokin' Beef Bar", 0},
	{73, {2337.252441, 2458.982666, 14.974175}, {288.742004, 167.677017, 1007.171875}, {131.673690, -67.693008, 1.578125}, 1, 2000, 2000, 142, 3, "LVPD", 0},
	{74, {2178.745361, 1515.009033, 10.820312}, {1133.287231, -15.505493, 1000.679687}, {1121.363159, -2.031644, 1000.679687}, 1, 2000, 7000, 143, 12, "Royal Casino", 0},
	{75, {2271.009521, 2292.652099, 10.820312}, {2450.882324, 2376.613525, -39.367187}, {2472.304443, 2357.208007, -52.081687}, 1, 2000, 15000, 144, 69, "Las Venturas Bank", 0},
	{76, {-594.623046, 2018.885253, 60.538135}, {-959.635803, 1955.038940, 9.000000}, {-940.946960, 1910.111083, 5.000000}, 1, 2000, 6000, 145, 17, "The Sherman Dam", 0},
	{77, {2447.119384, 2376.291503, 12.163512}, {1874.812988, 2419.077636, 20.831604}, {1862.282348, 2406.707031, 20.831604}, 1, 2000, 6000, 146, 11, "Mayor Office", 0},
	{78, {2076.944580, 2096.833496, 11.057899}, {-100.377708, -24.583467, 1000.718750}, {-106.705589, -8.397650, 1000.718750}, 1, 2000, 5000, 147, 3, "LV Sex Shop", 0},
	{79, {2085.651123, 2074.023193, 11.054687}, {-100.290046, -24.689302, 1000.718750}, {-106.848617, -8.432016, 1000.718750}, 1, 2000, 5000, 148, 3, "LV Sex Shop", 0},
	{80, {2194.630126, 1978.272094, 12.289411}, {2841.196777, 2444.702880, 1786.481079}, {2829.689453, 2450.281494, 1786.481079}, 1, 2000, 5000, 149, 207, "The Supa", 0},
	{81, {2102.418945, 2257.505859, 11.023437}, {207.746490, -110.713943, 1005.132812}, {206.141464, -97.708976, 1005.257812}, 1, 2000, 5000, 150, 15, "Las Venturas Binco", 0},
	{82, {2097.581054, 2223.852783, 11.023437}, {-228.640060, 1401.050781, 27.765625}, {-219.969421, 1405.488891, 27.773437}, 1, 2000, 5000, 151, 18, "The Bar", 0},
	{83, {2090.474609, 2224.020507, 11.023437}, {161.433547, -96.476524, 1001.804687}, {161.422149, -79.029678, 1001.804687}, 1, 2000, 5000, 152, 18, "ZIP", 0},
	{84, {2083.411132, 2224.104980, 11.023437}, {372.278289, -132.903442, 1001.492187}, {376.229431, -115.430168, 1001.492187}, 1, 2000, 5000, 153, 5, "LV Pizza Stack", 0}*/
},

checkpointIndex[MAX_ROB_CHECKPOINT][3],
Text3D:checkpointLabel[MAX_ROB_CHECKPOINT][3][2];

forward loadMapIcons();
public loadMapIcons()
{
	CreateDynamicMapIcon(-2177.4419, -42.2777, 35.3125, 49, -1, 0, -1, -1, 500.0); // Icon for 10 green
	CreateDynamicMapIcon(-2048.9309, 554.4623, 35.1719, 45, -1, 0, -1, -1, 500.0); // Icon for prolaps
	CreateDynamicMapIcon(-2336.4990, -167.1285, 35.5547, 10, -1, 0, -1, -1, 500.0); // Icon for burgershot
	CreateDynamicMapIcon(-2156.8938, 151.3933, 35.3203, 38, -1, 0, -1, -1, 500.0); // Icon for sex shop 2
	CreateDynamicMapIcon(-2624.1946, 1411.4656, 7.0938, 21, -1, 0, -1, -1, 500.0); // Icon for Pleasure Dome
	CreateDynamicMapIcon(-1809.8201, 902.8481, 24.8906, 45, -1, 0, -1, -1, 500.0); // Icon for Binco Clothing #1
    CreateDynamicMapIcon(-2374.5620, 910.0986, 45.4453, 45, -1, 0, -1, -1, 500.0); // Icon for Binco Clothing #2
    CreateDynamicMapIcon(-2419.5413, 969.8095, 45.2969, 17, -1, 0, -1, -1, 500.0); // Icon for 24/7 #1
    CreateDynamicMapIcon(-2129.2578, 643.7931, 52.3672, 17, -1, 0, -1, -1, 500.0); // Icon for 24/7 #1
    CreateDynamicMapIcon(-2242.4927, 128.6444, 35.3203, 47, -1, 0, -1, -1, 500.0); // Icon for Zero's RC Shop
    CreateDynamicMapIcon(-2269.7893, -155.9303, 35.3203, 54, -1, 0, -1, -1, 500.0); // Icon for San Fierro Gym
    CreateDynamicMapIcon(-2026.6393, -101.4065, 35.1641, 55, -1, 0, -1, -1, 500.0); // Icon for San Driving School
    CreateDynamicMapIcon(-2767.4424, 788.8062, 52.7813, 17, -1, 0, -1, -1, 500.0); // Icon for Donut Shop
    CreateDynamicMapIcon(-1694.4790, 950.8422, 24.8906, 45, -1, 0, -1, -1, 500.0); // Icon for Victim Clothing
    CreateDynamicMapIcon(-1883.0643, 865.8884, 35.1719, 45, -1, 0, -1, -1, 500.0); // Icon for Zip Clothing
    CreateDynamicMapIcon(-1617.2423, 1122.7692, 7.1875, 17, -1, 0, -1, -1, 500.0); // Icon for 24/7 #2
    CreateDynamicMapIcon(-2128.6099, 707.1724, 69.5625, 38, -1, 0, -1, -1, 500.0); // Icon for Sex Shop
    CreateDynamicMapIcon(-2242.4578, 674.2098, 49.4453, 7, -1, 0, -1, -1, 500.0); // Icon for Random Store
    CreateDynamicMapIcon(-2442.6143, 754.8221, 35.1719, 17, -1, 0, -1, -1, 500.0); // Icon for Supa Save
	CreateDynamicMapIcon(-1992.5721, 1041.8290, 55.7122, 22, -1, 0, -1, -1, 500.0); // Icon for Hospital
    CreateDynamicMapIcon(-1782.9896, 572.3909, 35.1641, 62, -1, 0, -1, -1, 500.0); // Icon for VIP Lounge
    CreateDynamicMapIcon(-1816.6641, 617.7444, 35.1719, 14, -1, 0, -1, -1, 500.0); // Icon for Cluckin' Bell
    CreateDynamicMapIcon(-2551.1594, 193.7173, 6.2271, 48, -1, 0, -1, -1, 500.0); // Icon for Gaydar Station
    CreateDynamicMapIcon(-2625.8931, 208.5265, 4.6150, 6, -1, 0, -1, -1, 500.0); // Icon for Ammunation
    CreateDynamicMapIcon(-2672.3398, 258.5685, 4.6328, 14, -1, 0, -1, -1, 500.0); // Icon for Cluckin' Bell
    CreateDynamicMapIcon(-2765.8337, 375.6069, 6.3347, 56, -1, 0, -1, -1, 500.0); // Icon for Town Hall
    CreateDynamicMapIcon(-1605.6772, 711.3550, 13.8672, 30, -1, 0, -1, -1, 500.0); // Icon for SFPD
    CreateDynamicMapIcon(-1675.8157, 431.9064, 7.1797, 17, -1, 0, -1, -1, 500.0); // Icon for gas station
    CreateDynamicMapIcon(-1721.7919, 1359.3721, 7.1853, 29, -1, 0, -1, -1, 500.0); // Icon for gas station
	CreateDynamicMapIcon(-1830.3862, 572.7914, 35.1641, 56, -1, 0, -1, -1, 500.0); // Icon for gas station
	CreateDynamicMapIcon(-1787.0114, 1207.0797, 25.1250, 8, -1, 0, -1, -1, 500.0); // Icon for bomb shop
	CreateDynamicMapIcon(-1500.2130, 919.8679, 7.1875, 52, -1, 0, -1, -1, 500.0); // Icon for bank
	CreateDynamicMapIcon(-1838.5251, 146.5409, 15.1172, 42, -1, 0, -1, -1, 500.0); // Icon for trucking
	CreateDynamicMapIcon(-2036.5284, 1196.7173, 46.2395, 19, -1, 0, -1, -1, 500.0); // Icon for admin lounge
	CreateDynamicMapIcon(-1912.1063, 828.3687, 35.2096, 10, -1, 0, -1, -1, 500.0); // Icon for burger shot
	CreateDynamicMapIcon(-1932.4017, 273.9533, 41.0391, 55, -1, 0, -1, -1, 500.0); // Icon for dealership
	CreateDynamicMapIcon(-1758.0052, 1083.5776, 45.4453, 10, -1, 0, -1, -1, 500.0); // Icon for burger shot
	CreateDynamicMapIcon(-1731.3148, 1084.0166, 45.4453, 45, -1, 0, -1, -1, 500.0); // Icon for Zip Clothing
	CreateDynamicMapIcon(-1859.7853, 1406.2252, 7.1875, 42, -1, 0, -1, -1, 500.0); // Icon for trucking
	CreateDynamicMapIcon(-1885.1152, 826.8466, 35.1728, 56, -1, 0, -1, -1, 500.0); // Icon for job centre
	CreateDynamicMapIcon(-1728.6912, 685.9053, 25.0627, 45, -1, 0, -1, -1, 500.0); // Icon for suburban
	CreateDynamicMapIcon(-1728.6647, 667.7780, 25.0605, 29, -1, 0, -1, -1, 500.0); // Icon for pizza stack
	CreateDynamicMapIcon(-1670.6616, 903.5870, 24.8906, 38, -1, 0, -1, -1, 500.0); // Icon for sex shop
	CreateDynamicMapIcon(-1910.3787, 883.5793, 35.1719, 6, -1, 0, -1, -1, 500.0); // Icon for Ammunation
	//CreateDynamicMapIcon(-1971.9155, 79.4928, 27.8843, 25, -1, 0, -1, -1, 500.0); //lab
	//CreateDynamicMapIcon(-2314.6426, 244.2912, 35.3333, 25, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(-1467.5077, 1488.5598, 8.2501, 9, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(-2129.4907, -209.0233, 34.8778, 24, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(-1987.9539,203.9813,27.6799, 56, -1, 0, -1, -1, 500.0); //lolxd
	//CreateDynamicMapIcon(-2045.8406,-248.7906,35.3766, 48, -1, 0, -1, -1, 500.0); //clubROFL
	/*CreateDynamicMapIcon(2296.293, 2461.46, 38.6875, 30, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2270.9761, 2293.8179, 10.8203, 52, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2127.5869, 2379.6211, 10.8203, 44, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2016.9768, 1916.4065, 12.3424, 44, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2196.957, 1677.1637, 12.3672, 25, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2019.3196, 1007.7487, 10.8203, 43, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2159.5405, 943.1776, 10.8203, 6, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2367.0552, 2071.0693, 10.8203, 10, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2393.2737, 2041.5657, 10.8203, 14, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2472.8655, 2034.1702, 11.0625, 10, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2452.5308, 2065.1902, 10.8203, 50, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2546.5271, 1972.6571, 10.8203, 50, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2412.5039, 1123.819, 10.8203, 30, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2194.939, 1990.9948, 12.2969, 50, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(1658.496, 2250.0437, 11.0701, 43, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(1607.3329, 1816.766, 10.8203, 22, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(1672.5485, 1447.8712, 10.7881, 5, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(1157.9246, 2072.2874, 11.0625, 10, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(937.0844, 1733.2168, 8.8516, 30, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(776.7208, 1871.436, 4.9068, 6, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(173.0402, 1177.1461, 14.7578, 14, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(-316.1609, 829.8887, 14.2422, 6, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(-1508.8851, 2610.7004, 55.8359, 6, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2169.4143, 2795.9263, 10.8203, 10, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(-1457.9816, 2589.9771, 55.9957, 52, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(-179.1975, 1133.1324, 19.7422, 52, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(-828.1474, 1504.5988, 19.8529, 52, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2351.8555, 2533.6199, 10.8203, 29, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2556.9512, 2065.373, 11.0995, 6, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(1735.7432, 1866.1516, 10.8203, 55, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2247.6702, 2396.1687, 10.8203, 50, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(1872.2554, 2071.885, 11.0625, 10, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(-1213.8292, 1830.3749, 41.9297, 14, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2447.6692, 2376.2556, 12.1635, 30, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(1968.7693, 2295.873, 16.4559, 54, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(966.2469, 2160.6836, 10.8203, 56, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(-2488.5205, 2295.3135, 4.9844, 56, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2375.5786, 2306.3044, 8.1406, 36, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(1976.0565, 2162.1646, 11.0703, 63, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(-1420.3623, 2583.739, 55.8433, 63, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(-99.9229, 1118.1846, 19.7417, 63, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2094.721191, 2122.260498, 10.820312, 39, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(1656.463256, 1733.217163, 10.828111, 45, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2420.386718, 2064.722656, 10.820312, 38, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2506.947998, 2121.073242, 10.840000, 21, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(-254.382659, 2603.235107, 62.858154, 62, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(-553.198181, 2593.824707, 53.934780, 62, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(-857.356384, 1536.172363, 22.587043, 62, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2178.745361, 1515.009033, 10.820312, 44, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(-594.623046, 2018.885253, 60.538135, 40, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2490.360107, 1864.421875, 10.820312, 8, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(1961.423950, 2447.766357, 11.178249, 17, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2076.944580, 2096.833496, 11.057899, 38, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2085.651123, 2074.023193, 11.054687, 38, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2194.630126, 1978.272094, 12.289411, 17, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2102.418945, 2257.505859, 11.023437, 45, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2097.581054, 2223.852783, 11.023437, 17, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2090.474609, 2224.020507, 11.023437, 45, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2083.411132, 2224.104980, 11.023437, 29, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2209.497802, 935.627258, 10.843019, 24, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(2015.3485, 1183.4327, 10.8203, 60, -1, 0, -1, -1, 500.0);
	CreateDynamicMapIcon(-1427.6036, -286.0584, 14.1484, 5, -1, 0, -1, -1, 500.0);//sf airport
	CreateDynamicMapIcon(1969.25671, 1722.71265, 10.71143, 56, -1, 0, -1, -1, 500.0);//atm lv
	CreateDynamicMapIcon(2195.41089, 961.21271, 10.96878, 56, -1, 0, -1, -1, 500.0);//atm lv
	CreateDynamicMapIcon(2486.87891, 1022.75305, 10.69436, 56, -1, 0, -1, -1, 500.0);//atm lv
	CreateDynamicMapIcon(2409.42529, 1543.84131, 10.71838, 56, -1, 0, -1, -1, 500.0);//atm lv
	CreateDynamicMapIcon(2293.27783, 1883.73120, 10.69659, 56, -1, 0, -1, -1, 500.0);//atm lv
	CreateDynamicMapIcon(2511.44580, 2062.79199, 10.70864, 56, -1, 0, -1, -1, 500.0);//atm lv
	CreateDynamicMapIcon(2182.51538, 2462.66919, 10.64280, 56, -1, 0, -1, -1, 500.0);//atm lv
	CreateDynamicMapIcon(2096.98071, 2711.66553, 10.65754, 56, -1, 0, -1, -1, 500.0);//atm lv
	CreateDynamicMapIcon(1705.71313, 1852.42419, 10.68405, 56, -1, 0, -1, -1, 500.0);//atm lv*/
}
And errors:-
Код:
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(130) : error 001: expected token: ";", but found "("
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(136) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(137) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(138) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(139) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(140) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(141) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(142) : warning 217: loose indentation
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(142) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(143) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(144) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(145) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(146) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(147) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(148) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(149) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(150) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(151) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(152) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(153) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(154) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(155) : warning 217: loose indentation
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(155) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(156) : warning 217: loose indentation
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(156) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(157) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(158) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(159) : error 017: undefined symbol "CreateDynamicMapIcon"
D:\SHAUNAK\Fusion Gaming CnR\cnr_robberyCheckpoints.inc(160) : error 017: undefined symbol "CreateDynamicMapIcon"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
And we dont know how to solve it. Pls help us.
Reply
#2

You have to include streamer.inc and load streamer plugin.
Reply
#3

Nah dont care about the map icons, i'm saying about the first error... It doesnt go.
Reply
#4

Line 85:
Код:
	{43, {-2110.6672, 1477.6411, 8.3190}, {296.9241, -111.8708, 1000.5577}, {287.6981, -104.2885, 1000.5582}, 1, 3000, 8000, 101, 6, "Ammunition 3", 0, 5000000, -1, {288.5231, -112.0078, 1001.5263, 356.909210}, 179}
Reply
#5

OMG thats so stupid of me. Thanks Bro u changed my life xD +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)