Checkpoints Crash my Server!
#1

Hello,

I finally got used to how checkpoints work. I changed a checkpoint to a different location.. And now all checkpoints when stepped into they crash the server... And i changed it back and same outcome.. Help PLS!
Reply
#2

please show some code.
Reply
#3

Quote:

new Float:checkCoords[MAX_POINTS][4] = {
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Not Used
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Not Used
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Not Used
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Not Used
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Not Used
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Not Used
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Not Used
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Not Used
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Not Used
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Not Used
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Not Used
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Not Used
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Not Used
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Not Used
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Not Used
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Not Used
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Not Used
{1658.02, 1279.851, 1771.26, 1705.338}, // Las Venturas Airport Teriminal
{2059.8872, 1202.8521, 2120.8960, 1302.8754}, // RPL
{-2017.8111,243.3869,-1916.8111,344.3869}, // AutoBahn IN SF! 20
{-2646.0603, 1402.8860, -2634.2737, 1411.6195}, // RPL Exit
{1926.6289, 1004.3832, 2017.2037, 1031.9709}, // Four Dragons Casino robbing point
{2141.2183, 1629.5417, 2147.1643, 1642.7115}, // Caligulas Vault Rob checkpoint
{1137.0602, -11.2906, 1142.6293, 3.0941}, // Redsands Robbing point
{1533.065, 1713.074, 1654.115, 1879.401}, // LV hospital
{2657.661, 575.8629, 2813.854, 699.641}, // Abandoned cop car
{2329.653, 633.8839, 2478.038, 800.2107}, // LV Drug house
{2126.601, 1937.422, 2224.223, 2018.651}, // ATM at 24/7 at Starfish casino
{2181.269, 927.8569, 2243.747, 997.4821}, // ATM at Ammunation south LV
{1068.388, 2026.388, 1181.628, 2119.221}, // Whitewood Estates atm
{2466.323, 2223.659, 2599.088, 2347.437}, // ATM Roca escalante
{2306.224, 1527.407, 2407.75, 1577.692}, // LV City Bank entry
{2304.9456, -17.3404, 2313.7649, -13.2493}, // LV City Bank exit
{2314.5757, -17.2502, 2317.1465, -0.1237}, // LV City bank main business
{2221.0667, 2448.5840, 2260.7422, 2487.7661}, // LVPD Weapons refill
{3539.1328, 382.3327, 4085.4063, 560.8972}, // Alcatraz Entry
{240.1793, 107.4361, 252.6249, 126.7327}, // Alcatraz Exit
{998.1006, 1384.289, 1201.153, 1805.908}, // blackfield stadium entry
{-1426.2727, 928.1482, -1421.1447, 938.1354}, // blackfield stadium exit
{191.9815, 177.5239, 195.3998, 180.5036}, // lvpd cell camera 3
{196.1084, 177.4886, 200.0713, 180.7824}, // lvpd cell camera 2
{195.9898, 156.5928, 200.1871, 159.8862}, // lvpd cell camera 1
{965.4654, -49.4240, 971.9686, -43.0032}, // Admin HQ Bar
{228.7872, 141.2361, 249.2870, 168.5767}, // lvpd hand yourself in
{2002.7880, 2317.5369, 2016.6089, 2332.7124}, // 8 ball c4 supply
{2129.9563, 1607.1721, 2158.4114, 1625.4816}, // caligs plant bomb
{-35.3856, -57.9658, -17.7096, -49.0101}, // 24 7 cpoint
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Trash Pickup 1
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Trash Pickup 2
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Trash Pickup 3
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Trash Pickup 4
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Trash Pickup 5
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Trash Pickup 6
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Trash Pickup 7
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Trash Pickup 8
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Trash Pickup 9
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Trash Pickup 10
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // Trash Pickup 11
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // gundel mission 1 pick
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // gundel mission1 drop
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // gundel mission 2 pick
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // gundel mission 2 drop
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // gundel mission 3 pick
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // gundel mission 3 drop
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // gundel mission 4 pick
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // gundel mission 4 drop
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // gundel mission 5 pick
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // gundel mission 5 drop
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // gundel mission 6 pick
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // gundel mission 6 drop
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // gundel mission 7 pick
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // gundel mission 7 drop
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // wincaradminhq
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // cashdel cash pickup
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // cashdel cash atm1
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // cashdel cash atm2
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // cashdel cash atm3
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // cashdel cash atm4
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // cashdel van back to base
{-1990.9284,506.0302,-1889.9284,607.0302}, // CASINO IN SAN FERRIO!
{1130.4017, -11.2694,1135.5321, -3.8149}, // redsands new exit
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // city hall lv entry
{4446.9814, 1987.1090, 4453.0605, 1992.0865}, // city hall main
{1562.7677, 2169.2029, 1616.5474, 2242.2063}, // 247 redsands
{2158.1504, 2448.4175, 2215.2781, 2495.0105}, // 247 emerald
{2618.1211, 1062.8726, 2657.2705, 1142.5107}, // 247 south east lv
{2097.0437, 883.9355, 2137.2776, 963.3201}, // south lv
{580.282, 1670.526, 689.6177, 1763.359}, // 247 bone county
{2115.3542, 2708.7834, 2172.6797, 2777.5857}, // 247 spiny bed
{351.3314, 196.9337, 368.2675,217.0970}, // robcityhall
{311.4730, 975.7504, 320.0443,1038.1334}, // bigassplane
{-2300.9724, 2200.7102, -2200.5178, 2400.7761}, // adhq
{2321.2236,-1016.6204,2328.2024,-1016.5899},// ADHQ Bar
{1430.0867,1890.1573,1500.4915,1950.5049}, // LoanShark
{200.0041,1287.3019, 240.6371,1291.6040}, // Loan Shark inside
{-2082.1331,845.2881,-2014.3762,902.5603}, // Exited Loan Shark
{1953.4303,1525.1149,2058.1895,1568.9524}, //Pirate
{2058.1194,1485.1052,2109.8867,1541.8995}, //Cas Nxt 2 Auto
{-1963.5267,1153.9538,-1592.5267,1254.9528}, //LOW RIDER BAHN IN SF
{-1771.8106,-167.6761,-1670.8106,-66.6761}, //Truck Bahn in SF! 100
{0000.0000,0000.0000,0000.0000,0000.0000}, //BS
{2239.3408,2439.0154,2297.1128,2482.0767}, //Detain
{147.4240,-96.6927,177.8985,-70.7966}, //ROB ZIP
{363.7595,-11.8117,381.4114,-5.8291}, //CLUCKIN
{200.4520,-110.9189,214.7452,-95.1301}, //BINCO
{416.7487,-84.4676,422.6248,-74.0660}, //Barber
{-205.0324,-43.5182,-200.2697,-39.8129}, //Tattoo
{362.3165,-76.7870,379.6014,-64.4769}, //BurgerShot
{2379.0371,1603.9318,2481.9324,1682.6953}, //Admin Lounge
{1260.6510,-787.5640,1268.1654,-771.7420}, //RPL2
{2236.0725,2424.7886,2320.0405,2424.8474}, //Police
{2422.9443,2043.6833,2449.8228,2065.1846}, //Robin
{487.7087,-77.3277,512.0633,-67.7501}, //Robin inside
{1986.9602,715.9218,2138.7935,776.8337}, //House1CheckpointOutside
{1996.4043,3285.702,2137.5315,702.4189}, //Flat2CheckpointOutside
{231.0586,1186.9100,237.3984,1204.0963}, //House1checkpointinside
{224.1151,1020.5745,243.5292,1038.8275}, //InsideHouse2
{-34.1223,-185.9297,-3.3505,-169.6192}, //Shoptill
{-31.0666,-187.5652,-19.1855,-169.6192}, //shopexit
{2103.3203,3105.5508,2156.6184,3138.7092}, //Gate 1 Check
{2102.0552,3080.7192,2153.9753,3103.7026}, //Gate 2 Check
{2237.6982,3137.9136,2351.7820,3211.1125} //Police Station New
};

new Float:checkpoints[MAX_POINTS][4] = {
{2109.2126, 917.5845, 10.8203, 5.0}, // Not Used
{2640.1831, 1103.9224, 10.8203, 5.0}, // Not Used
{611.8934,1694.7921,6.7193,5.0}, // Not Used
{2256.1350,538.3187,-0.6582,10.0}, // Not Used
{-2413.7427,975.9317,45.0031,5.0}, // Not Used
{-1672.3597,414.2950,6.8866,5.0}, // Not Used
{-2244.1365,-2560.6294,31.6276,5.0}, // Not Used
{-1603.0166,-2709.3589,48.2419,5.0}, // Not Used
{1939.3275,-1767.6813,13.2787,5.0}, // Not Used
{-94.7651,-1174.8079,1.9979,5.0}, // Not Used
{1381.6699,462.6467,19.8540,5.0}, // Not Used
{657.8167,-559.6507,16.0630,5.0}, // Not Used
{-1478.2916,1862.8318,32.3617,5.0}, // Not Used
{2147.3054,2744.9377,10.5263,5.0}, // Not Used
{2204.9602,2480.3494,10.5278,5.0}, // Not Used
{1289.5997,1395.4048,10.8203,15.0}, // Not Used
{1319.7441,1253.7612,10.8203,5.0}, // Not Used
{1674.9529,1448.5413,10.7888,5.0},
{2085.2048,1263.1144,10.8203,5.0},
{-1967.1738,293.6003,35.2714,4.0},//Auto BAHN IN SF!
{-2635.6731,1409.0873,906.4647,4.0},
{1957.4180,1017.8636,992.4688,2.5},
{2144.1042,1641.3715,993.5761,2.0},
{1142.1212,1.1375,1000.6797,2.5},
{1606.8721,1817.9978,10.8203,2.5},
{2788.3975,610.5909,10.8984,2.5},
{2449.3792,713.8478,11.4683,2.5},
{2193.1570,1974.6671,12.2894,1.5},
{2232.1321,959.2865,10.8203,1.5},
{1138.4005,2088.2024,11.0625,1.5},
{2540.5017,2266.1240,10.8203,1.5},
{2355.5588,1544.2212,10.8203,3.5},
{2306.5139,-15.4770,26.7496,2.5},
{2316.2385,-7.2282,26.7422,2.5},
{2234.7769,2458.9241,-7.4531,5.0},
{3795.7554,460.2423,33.9047,5.0},
{245.9921,108.6929,1003.2188,2.0},
{1099.5044,1601.8444,12.5469,5.0},
{-1424.0109,928.2040,1036.3948,2.0},
{193.8661,179.1723,1003.0234,1.0},
{198.0848,179.2339,1003.0303,1.0},
{198.0195,158.5698,1003.0234,1.0},
{968.8552,-46.3709,1001.1172,2.0},
{236.0950,166.4925,1003.0300,3.0},
{2003.6357,2319.0925,10.8203,4.0},
{2144.1226,1624.3165,993.6882,1.0},
{-22.5446,-55.6001,1003.5469,3.0},
{2581.4673,2148.2505,10.8203,5.0},
{2062.6243,2238.9121,10.1745,5.0},
{2297.3096,1567.2032,10.8203,5.0},
{2121.1802,1232.1056,10.8203,5.0},
{2198.5732,937.0938,10.8203,5.0},
{2049.3103,658.2263,11.3006,5.0},
{1654.0845,1080.9868,10.8203,5.0},
{1286.5367,1252.1665,10.8203,5.0},
{824.2954,856.6764,12.0343,5.0},
{-1689.0303,683.4731,21.7940,5.0},
{-1808.2322,-1649.6141,23.6609,5.0},
{2197.8586,938.6444,10.8203,5.0},
{1364.3669,-1282.7325,13.5469,5.0},
{1423.3719,-1292.6678,13.5592,5.0},
{2385.1118,-2009.9146,13.5537,5.0},
{-61.5190,-1112.0059,1.0781,5.0},
{-2096.9539,-2459.4238,30.6250,5.0},
{-2628.5117,211.4568,4.5494,5.0},
{-1591.4674,716.4246,-5.2422,5.0},
{-1247.3684,455.1923,7.1875,5.0},
{275.5387,1957.8539,17.6406,5.0},
{219.3790,1862.9003,13.1470,5.0},
{1271.0192,1324.8730,10.8130,5.0},
{1272.1927,1360.7340,10.8130,5.0},
{2293.2915,2468.5918,10.8203,5.0},
{2090.0583,1314.2783,10.8203,4.0},
{2355.3962,1603.7089,10.8203,5.0},
{1135.3522,2087.9800,11.0625,5.0},
{2537.2380,2266.7944,10.8203,5.0},
{2193.0132,1968.3802,10.8203,5.0},
{2229.6580,959.3417,10.8203,5.0},
{2378.7620,1609.4525,10.6719,5.0},
{-1940.4285,556.5303,35.1719,5.0},// SF CASINO!
{1132.9811,-12.0000,1000.6797,2.0},
{2446.1379,2376.3525,12.1635,5.0},
{361.8299,173.5716,1008.3828,2.5},
{1599.9943,2220.9233,11.0625,4.0},
{2189.4114,2469.1099,11.2422,4.0},
{2637.3494,1127.8949,11.1797,4.0},
{2117.3906,898.2151,11.1797,4.0},
{662.1166,1717.9940,7.1875,4.0},
{2151.1006,2735.6091,11.1763,4.0},
{356.7246,215.6280,1008.3828,3.0},
{315.9641,1033.0465,1946.4037,4.5},
{-2237.7969,2353.4224,4.9804,3.0},
{2324.4875,-1014.3350,1050.2178,3.0},
{1464.9091,1920.2568,11.4609,3.0},
{225.5270,1292.9052,1082.1406,2.0},
{-2059.1699,894.0970,60.4871,5.0},
{1999.6620,1538.4830,13.5859,3.0}, // Pirate
{2090.0520,1514.7460,10.8203,3.0}, // Cas nxt 2 auto
{-1643.0267,1204.4539,7.2500,3.0}, // LOW RIDER BAHN IN SF!
{-1721.3107,-117.1761,3.5489,5.0}, // Truck BAHN IN SF! /100
{0000.0000,0000.0000,00.0000,0.0}, // BS
{2293.6819,2451.7664,10.8203,4.0}, // Detain
{162.3792,-80.0536,1001.8047,3.0}, // ROBZIP
{371.6089,-6.0192,1001.8589,3.0}, // CLUCKIN
{209.0870,-98.6964,1005.2578,3.0}, // BINCO
{418.9441,-76.0581,1001.8047,2.0}, // Barber
{-203.6002,-41.2776,1002.2734,2.0}, // Tattoo
{378.1788,-65.6021,1001.5078,4.0}, // BurgerShot
{2435.0764,1653.5093,10.8203,4.0}, // AdminLounge
{1262.6312,-784.9474,1091.9063,4.0}, // RPL2
{2281.6609,2431.7864,3.2734,3.0}, // Police Weapons
{2441.1157,2063.1956,10.8203,3.0}, // Robin
{503.1185,-70.0234,998.7578,5.0}, // Robin inside
{2065.1738,732.2642,11.4683,3.0}, // House1CheckOutside
{2093.2500,652.1081,11.4609,3.0}, // House2CheckOutside
{235.6528,1188.3027,1080.2578,2.0}, // House1checkinside
{225.6523,1025.8258,1084.0078,2.0}, // House2Inside
{-10.2971,-178.0770,1003.5469,3.0}, // ShopTill
{-25.3727,-186.8476,1003.5469,4.0}, // ShopExit
{2135.5173,3107.6592,18.1773,2.0}, // Gate 1
{2123.1931,3101.0713,18.1773,2.0}, // Gate 2
{2297.6558,3160.9114,20.1132,2.0} // Cop Station New
};

Код:
#define CP_STATION1  0
#define CP_STATION2  1
#define CP_STATION3  2
#define CP_STATION4  3
#define CP_STATION5  4
#define CP_STATION6  5
#define CP_STATION7  6
#define CP_STATION8  7
#define CP_STATION9  8
#define CP_STATION10 9
#define CP_STATION11 10
#define CP_STATION12 11
#define CP_STATION13 12
#define CP_STATION14 13
#define CP_STATION15 14
#define CP_STATION16 15
#define CP_AIRCOPS1  16
#define CP_LVAPORT1  17
#define CP_LVADMIN1  18
#define CP_LVCARSELL 19
#define CP_LVADMINEX 20
#define CP_FOURDRAGS 21
#define CP_CALIGS   22
#define CP_REDSANDS  23
#define CP_HOSPLV   24
#define CP_BANCPCAR  25
#define CP_LVDRGHSE  26
#define CP_ATM247   27
#define CP_ATMAMUSTH 28
#define CP_ATMWHITE  29
#define CP_ATMROCEST 30
#define CP_BANKMAIN  31
#define CP_BANKMAINX 32
#define CP_BANKBUSNES 33
#define CP_LVPDARMSDE 34
#define CP_ALKATRAZ1 35
#define CP_ALKATRAZ2 36
#define CP_BLKFSTAD  37
#define CP_BLKFSTADX 38
#define CP_LVPDCCAM3 39
#define CP_LVPDCCAM2 40
#define CP_LVPDCCAM1 41
#define CP_ADMINBAR  42
#define CP_PDGIVEUP  43
#define CP_8BALLSUP  44
#define CP_CALIGPLNT 45
#define CP_247CP1   46
#define CP_TRASHPICKUP1 47
#define CP_TRASHPICKUP2 48
#define CP_TRASHPICKUP3 49
#define CP_TRASHPICKUP4 50
#define CP_TRASHPICKUP5 51
#define CP_TRASHPICKUP6 52
#define CP_TRASHPICKUP7 53
#define CP_TRASHPICKUP8 54
#define CP_TRASHPICKUP9 55
#define CP_TRASHPICKUP10 56
#define CP_TRASHPICKUP11 57
#define CP_GUNDELIVERY1 58
#define CP_GUNDELIVERY2 59
#define CP_GUNDELIVERY3 60
#define CP_GUNDELIVERY4 61
#define CP_GUNDELIVERY5 62
#define CP_GUNDELIVERY6 63
#define CP_GUNDELIVERY7 64
#define CP_GUNDELIVERY8 65
#define CP_GUNDELIVERY9 66
#define CP_GUNDELIVERY10 67
#define CP_GUNDELIVERY11 68
#define CP_GUNDELIVERY12 69
#define CP_GUNDELIVERY13 70
#define CP_GUNDELIVERY14 71
#define CP_WINCARADMINHQ 72
#define CP_CASHDELPICKUP 73
#define CP_CASHDELATM1  74
#define CP_CASHDELATM2  75
#define CP_CASHDELATM3  76
#define CP_CASHDELATM4  77
#define CP_CASHDELEND   78
#define CP_BMUKCASENTR  79
#define CP_REDSANDSEXIT  80
#define CP_CITYHALLENTER 81
#define CP_CITYHALLMAIN  82
#define CP_247REDSANDS  83
#define CP_247EMERALD   84
#define CP_247SEASTLV   85
#define CP_247SOUTHLV   86
#define CP_247BONECOUN  87
#define CP_247SPINYBED  88
#define CP_ROBCITYHALL  89
#define CP_BIGASSPLANE  90
#define CP_ADHQ			 91
#define CP_BAR			 92
#define CP_LOANSHARK	 93
#define CP_LOANSHARKMAIN 94
#define CP_LOANSHARKEXIT 95
#define CP_EXITLOANSHARK 94
#define CP_ROBAB		 95
#define CP_ADHQEXIT    96
#define CP_PIRATE     97
#define CP_CAS1      98
#define CP_AUTO2     99
#define CP_BOATBAHN    100
#define CP_BS       101
#define CP_DETAIN     102
#define CP_ZIP      103
#define CP_CLUCKIN    104
#define CP_BINCO     105
#define CP_BARBER     106
#define CP_TATTOO     107
#define CP_BURGERSHOT   108
#define CP_ADMINLOUNGE  109
#define CP_RPL2      110
#define CP_POLICE     111
#define CP_ROBIN     112
#define CP_ROBININSIDE  113
#define CP_HOUSE1OUTSIDE 114
#define CP_HOUSE2OUTSIDE 115
#define CP_HOUSE1INSIDE  116
#define CP_HOUSE2INSIDE  117
#define CP_SHOPTILL    118
#define CP_SHOPEXIT    119
#define CP_GATE1     120
#define CP_GATE2     121
#define CP_COP      122
#define MAX_POINTS 122
Im not getting any warnings or errors...
Reply
#4

Can anyone help?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)