new Float:checkCoords[MAX_POINTS][4] = { {-32.100069,-94.627357,-24.100069,-85.626357}, //Store 1.1 Entrance
new playerCheckpoint[MAX_PLAYERS]; new Float:checkpoints[MAX_POINTS][4] = { {-28.100069,-89.627357,1003.5469,3.0}, //Store 1.1 Entrance
Hey SA-MP User's.
Cheers for Comming to Yet Again, Another thread of Mine. Now.... I'm Currently having a Query? Whats the Point of this? Code:
new Float:checkCoords[MAX_POINTS][4] = { {-32.100069,-94.627357,-24.100069,-85.626357}, //Store 1.1 Entrance Code:
new playerCheckpoint[MAX_PLAYERS]; new Float:checkpoints[MAX_POINTS][4] = { {-28.100069,-89.627357,1003.5469,3.0}, //Store 1.1 Entrance Iv'e went into the Game /saved all my Locations, But I Found It Trippy when that Array has Diffrent Coords to the Checkpoints Array, Gah, Can anyone Please Explain the Differance, Hopefully you DONT State the nightmare of me having to re-do all the checkpoints iv'e already done it 2 time's xD Cheers iiKyle |
new Float:checkCoords[MAX_POINTS][4] = { {-32.100069,-94.627357,-24.100069,-85.626357}, //69 Cent Store {242.375991, 103.245994, 250.375991, 113.245994},//SFPD Exit {1480.7555,-1777.3855 , 1485.7555, -1766.3855}, //CP_PrisonEnter {1506.011352, -1064.139526, 1514.011352, -1056.139526}, // bank {2300.7012, -24.0591, 2308.7012, -12.0591}, //CP BANK EXIT {2307.645019, -8.784074, 2315.645019, -0.784075}, // Inside Bank {2170.755615, -2253.109130, 2178.755615, -2245.109130}, //Explosives {973.451416, -773.852722, 981.451416, -765.852722}, // Admin House {2313.830322, -1030.757690, 2321.830322, -1022.757690}, //Admin House Exit {1926.014160, -2126.011474, 1950.014160, -2106.011474}, //Sex Shop enter {-114.511611, -33.429290, -90.511611, -13.429288}, // Sex Shop Exit {-119.566085, -20.617439, -95.566085, -0.617439}, // Sex Shop Counter {1914.582031, -1786.320434, 1938.582031, -1766.320434}, // Gas Station Enter {-24.311285, -188.242904, -0.311285, -168.242904}, // Gas station checkpoint {-40.028060, -197.120574, -16.028060, -177.120574}, // Store one exit {462.096069, -25.185485, 486.096069, -5.185485}, // dance Rob {279.810852, -44.787994, 303.810852, -24.787994}, // Ammunation (Center LS) Robbery Spot {363.797363, -77.435653, 387.797363, -57.435653}, // Burger Shot Robbery Spot {1166.014282, -1333.302246, 1186.014282, -1313.302246}, // Hospital {-211.742660, -33.566627, -191.742660, -13.566627}, // Tatoo Shop {2476.337646, -1654.873291, 2496.337646, -1634.873291}, // House 1 {225.373641, 1176.680053, 245.373641, 1196.680053}, // House 1 Exit {1970.387695, -1729.006713, 1990.387695, -1709.006713}, // House2Enter {218.089996, 1104.303955, 238.089996, 1124.303955}, // House2 Exit {270.929382, -1777.145751, 290.929382, -1757.145751}, // House3enter {213.038757, 1278.227294, 233.038757, 1298.227294}, // House3Exit {179.641677, -1318.114135, 199.641677, -1298.114135}, // House4Enter {14.116802, 1330.033691, 34.116802, 1350.033691}, // House4Exit {342.405242, -1207.921020, 362.405242, -1187.921020}, // House5Enter {12.747611, 1394.215698, 32.747611, 1414.215698}, // House5Exit inside {979.783447, -838.658874, 999.783447, -818.658874}, // House 6 enter {437.005004, 1387.073608, 457.005004, 1407.073608}, // House Exit to outside {1084.829467, -657.912902, 1104.829467, -637.912902}, // House 7 enter {224.166671, 1055.024414, 244.166671, 1075.024414}, // House 7 Exit {2080.942626, -1287.854370, 2100.942626, -1267.854370}, // House 8 enter loc {2249.523193, -1145.836303, 2269.523193, -1125.836303}, // House 8 Exit Cp (THIS ONE) {2101.024902, -1254.397460, 2121.024902, -1234.397460}, // House9Enter {2457.589111, -1708.400024, 2477.589111, -1688.400024}, // House 9 Exit CP {1204.997924, -23.298475, 1224.997924, -3.298475}, // Pig Pen Robbery Spot {2024.464721, -1416.565551, 2044.464721, -1396.565551},// hospital {1430.501220, -2297.199462, 1450.501220, -2277.199462}, // Airpot blow cp {353.255249, -2019.069458, 373.255249, -1999.069458}, // park cp for blow {-41.306762, -38.996452, -21.306764, -18.996454}, // Gas Station Rob {1391.436889, -777.322265, 1411.436889, -757.322265}, // Vinewood sign blow cp {1516.515136, -1081.242065, 1536.515136, -1061.242065}, // Blow bank CP {2137.707763, -1377.095458, 2157.707763, -1357.095458}, // Drug house cp {193.934204, -50.282241, 213.934204, -30.282241}, // SubUrban robbery checkpoint {197.757797, -108.696815, 217.757797, -88.696815}, // Binco rob {366.704528, -128.806335, 386.704528, -108.806343} // Pizza place robbery };
Would the checkCoords be the Same as a Gang Zone?
Sorry for the Bump, But i Still need Help With this Issue, ![]() iiKyle |
first coordinates are for minx,miny,maxx,max,maxy (not sure about the order) as said and the second coorinates are X,Y,Z,Size for checkpoint.
IsPlayerInArea is used for checkpoints, because you can see only 1 checkpoint at time, so it is used like a checkpoint streamer. If you are in checkpoint area it shows you the checkpoint. Saw this solution in one cops and robbers script. |