21.08.2009, 17:11
Just use it like this .... You dont need to specify the number of data adde in that array ...just use it like this
pawn Код:
new CarSpawns[][eCars] = {
{405,2205.2,-1177.0,25.7,270.8},//carid 90
{554,2205.1,-1169.1,25.7,270.8},
{426,2216.7,-1170.6,25.7,268.3},
{445,2228.5,-1177.3,25.7,88.4},
{492,2229.2,-1170.2,25.7,86.9},
{507,2228.9,-1162.7,25.7,87.8},
{545,2217.0,-1157.2,25.7,269.8},
{540,169.1929,-1342.3611,69.7396,180.4404},
{482,422.8060,-1263.5979,51.6681,21.4204},
{547,405.9748,-1264.3921,50.1237,24.2110},
{550,2242.3, -1235.4, 24.3,359.7513},
{551,2223.9, -1237.3, 24.4,358.8547},
{560,2106.4695,-1248.7920,24.0461,0.1524},
{566,2196.2891,-1277.7905,24.2147,180.4522},
{402,198.6057,-1437.2435,13.1844,318.3837},
{405,216.5521,-1431.4004,13.0853,132.5749},
{554,334.2231,-1343.7405,14.3828,209.9581},
{426,481.0428,-1320.8564,15.4095,35.6808},
{507,697.4343,-1230.9486,16.5063,298.7916},
{545,723.9850,-1121.5535,18.1450,333.9010},
{540,912.2176,-996.2035,38.1402,7.5764},
{482,982.1829,-921.8636,41.8776,262.3163},
{547,981.8715,-917.3546,41.5443,88.0589},
{550,1188.4082,-925.1859,42.8590,277.5563},
{400,1307.5226,-914.4717,39.0082,269.3765},
{405,1450.2,-937.1,36.2,269.6909}, //116
{492,2148.3257,-1175.2518,24.1959,269.6909},
{507,2161.4871,-1163.1450,23.6760,269.1628},
{545,2216.8965,-1165.9469,25.4697,89.8643},
{540,2348.2910,-1167.9983,27.3637,323.1586},
{482,2502.0388,-1134.9507,39.1953,150.9506},
{547,2909.4895,-1180.3746,11.0176,222.1346},
{550,2853.1858,-1326.8011,11.1511,278.9301},
{551,2797.2690,-1549.3374,10.4935,93.0282},
{533,2796.9031,-1567.2024,10.6386,272.4041},
{482,2813.2175,-1673.0276,9.6638,2.3369},
{547,2827.6736,-1703.9755,9.7308,77.2896},
{550,2809.3872,-1837.2391,9.7398,268.9880},
{551,2870.8789,-1943.2599,11.4834,359.2344},
{566,2411.5386,-2134.7576,13.9352,0.7795},
{554,1389.7467,-2695.9370,13.4164,121.1818},
{405,783.1359,-1601.8208,13.2577,270.9069},
{554,782.7205,-1619.3584,13.2653,93.0550},
{426,923.0841,-1361.7990,13.0324,181.1371},
{445,911.7986,-1352.7415,13.1543,359.3287},
{492,1174.6599,-922.1939,43.1189,276.8927},
{507,1363.0210,-1288.3124,13.2839,180.1453},
{545,1363.2723,-1260.8229,13.0954,179.5841},
{540,2383.5627,-1927.9207,13.2436,359.6281},
{482,2377.0374,-1927.8434,13.1071,0.7843},
{547,2391.7234,-1978.0658,13.1963,90.1736},
{550,2396.6899,-1966.8123,13.2793,271.6838},
{551,2391.1135,-1500.6554,23.6355,269.7709},
{560,2390.7446,-1490.9093,23.5335,271.1926},
{405,321.2212,-1809.3561,4.2627,179.7758},
{554,334.3586,-1789.3143,4.6717,178.7722},
{426,343.8039,-1808.9827,4.3090,181.8368},
{445,499.4850,-1764.0182,5.3367,89.7930},
{492,646.4998,-1771.6411,13.2905,348.7706},
{507,740.4332,-1797.7659,13.9196,349.9927},//150
{545,652.4496,-1656.7273,14.4585,91.3294},
{540,546.0256,-1622.4747,16.4585,180.7857},
{482,438.9431,-1625.4088,25.7951,0.1850},
{547,453.3896,-1494.3240,30.7917,7.7513},
{550,487.6469,-1516.2312,20.0235,185.5384},
{551,300.5775,-1490.8882,24.3748,235.1359},
{560,297.9918,-1535.9011,24.3758,231.2773},
{566,524.0590,-1375.0093,15.8231,193.3626},
{405,598.9131,-1519.1414,14.8214,180.4083},
{554,593.2022,-1519.3578,14.9461,181.5466},
{426,733.5679,-1438.4880,13.3203,266.7551},
{445,770.4971,-1431.1127,13.3247,0.7436},
{492,735.9440,-1346.2430,13.3003,88.3069},
{507,736.8572,-1337.1550,13.3140,271.3832},
{545,856.7003,-1363.1852,13.4093,179.8542},//165
{482,888.1506,-1659.2727,13.3296,1.2414},
{547,879.1024,-1669.2560,13.3305,180.5853},
{550,888.0242,-1678.5981,13.3294,358.4990},
{551,920.4441,-1823.0966,12.3452,84.1821},
{560,986.5818,-1761.2992,13.4014,181.9385},
{566,1062.6744,-1757.9412,13.1956,89.0572},
{405,1084.3831,-1763.8369,13.1501,269.0443},
{554,1081.8948,-1629.9564,13.4064,90.0880},
{426,981.7941,-1523.5115,13.3379,267.2751},
{445,1014.7464,-1434.4586,13.3292,266.3129},
{492,2684.6,-1990.2,13.3,180.0931},
{507,2684.6,-2019.0,13.3 ,0.8777},
{545,1096.1,-1379.9,13.3,270.1909},//178
{540,1151.6812,-1203.2323,20.2889,273.5155},//179
{482,1182.2568,-1219.2407,18.4163,0.5578},
{547,1260.9978,-1187.1921,23.3559,183.3606},
{550,1331.9304,-1081.3899,24.9941,90.4092},
{551,1284.8755,-1525.5013,13.3451,269.4388},
{560,1279.1887,-1539.2032,13.3201,94.8070},
{566,1275.9120,-1646.7448,13.3273,267.2669},
{405,1318.2792,-1785.7821,13.2429,182.4215},
{554,1253.9153,-1833.3832,13.1734,175.3692},
{426,1279.2875,-1814.4156,13.1657,93.6385},
{445,1198.5004,-1835.2216,13.1820,93.6780},
{492,1479.9131,-1737.8813,13.2418,269.5805},
{507,1508.1047,-1737.7089,13.2418,270.0250},
{545,1618.0411,-1891.1044,13.3278,0.3364},
{540,1623.7291,-1892.7234,13.3307,180.0126},
{482,1742.8494,-1857.7446,13.1960,271.1740},
{547,1743.5837,-1844.6041,13.3557,180.3384},
{550,1838.1904,-1871.3842,13.1703,358.5452},
{551,1841.4791,-1871.6549,13.1687,179.3825},
{560,1777.1376,-1910.0310,13.1681,91.0725},
{566,1803.1235,-1920.5144,13.1758,266.0453},
{566,1981.0780,-1986.3513,13.3275,2.1479},
{405,1987.6057,-1994.9520,13.3296,359.9128},
{554,1978.0371,-2066.7500,13.1640,358.2871},
{426,1984.7471,-2066.7776,13.1625,359.7226},
{445,1938.0565,-2086.8459,13.3429,268.3414},
{492,1947.1119,-2136.3887,13.3286,90.9804},
{507,1932.1523,-2141.5220,13.3429,1.8383},
{545,1793.9172,-2148.5300,13.3781,359.7861},
{540,1748.0751,-2084.2090,13.3324,0.4337},
{482,1560.5026,-2260.5457,13.3258,268.7398},
{547,1461.6943,-1505.1688,13.2541,356.9007},
{550,1426.4930,-1402.3170,13.1800,181.0290},
{551,1435.0645,-1325.6835,13.2580,270.9400},
{560,1513.9486,-1272.5691,14.2685,181.0697},
{566,1583.7561,-1338.7435,16.1896,359.8619},
{405,1573.8772,-1209.9202,17.1378,92.7502},
{554,1476.2012,-1120.3083,23.5660,359.9746},
{426,1430.2316,-1054.8555,22.8693,359.3625},
{445,1574.1168,-1036.7643,23.6151,145.6786},
{492,1617.6676,-1009.8663,23.6052,356.8697},
{507,1645.3188,-1036.5238,23.6027,0.7258},
{545,1735.2826,-1010.5402,23.6588,346.3133},
{540,1770.4874,-1060.9886,23.6658,179.2750},
{482,1739.9854,-1084.5490,23.6660,176.8026},
{547,1653.1766,-1134.8994,23.6110,178.6835},
{550,1617.3746,-1132.8293,23.6117,91.7300},
{551,1790.0190,-1292.9065,13.2653,267.2964},
{560,1754.3009,-1476.8170,13.2402,269.6320},
{554,2003.3417,-1121.4993,26.3879,357.4926},
{426,2084.2334,-1170.0986,24.2042,91.8975},
{445,2229.1128,-1357.8774,23.6930,268.2194},
{492,2229.2278,-1345.4033,23.6892,93.3009},
{507,2332.5684,-1362.4845,23.7297,358.1198},
{545,2384.1567,-1275.6326,23.9198,101.6528},
{540,2432.3149,-1226.0785,24.9941,17.9805},
{482,2426.9612,-1224.4158,25.0000,202.7159},
{547,2438.4309,-1321.6925,24.1225,269.7535},
{551,2612.9702,-1262.6970,48.2461,269.4752},
{560,2659.4529,-1428.4343,30.1790,266.5051},
{566,2659.7053,-1422.6743,30.1714,89.8159},
{405,2485.5313,-1556.1823,23.7478,178.8338},
{554,2478.7664,-1555.7006,23.7226,183.6043},
{426,2605.3967,-1365.8829,34.6461,359.9891},
{445,2754.7136,-1373.0253,40.1154,91.4169},
{492,2717.3662,-1468.0308,30.0894,1.0298},
{507,2816.7195,-1449.4285,15.9549,268.9106},
{545,2816.9937,-1441.5880,15.9544,90.7779},
{540,2681.9016,-1673.3879,9.1290,0.5605},
{482,2442.5845,-1642.7507,13.1644,180.3454},
{547,2361.3120,-1674.6146,13.2505,357.4959},
{550,2298.3535,-1633.7542,14.3849,80.8107},
{551,2297.9077,-1639.9464,14.4352,94.4292},
{560,2255.4045,-1664.5736,15.1304,74.6898},
{566,2234.1057,-1726.9386,13.1665,271.7536},
{405,2319.3833,-1716.6823,13.2518,359.8540},
{554,2474.5105,-1755.9194,13.2522,270.5967},
{426,2501.8213,-1754.2794,13.1208,176.4916}, //= 255
{445,2489.1560,-1952.6886,13.1366,178.1629},
{492,2495.4326,-1953.2922,13.1299,356.5514},
{507,2306.7168,-1989.6796,13.2639,184.8385},
{482,2056.1807,-1904.7751,13.2502,2.2910},
{550,2064.9871,-1919.1674,13.2504,180.8575},
{551,1886.4812,-2022.9338,13.0964,179.4265},
{560,1824.8976,-2019.8374,13.0875,272.5273},
{566,1942.1669,-1862.6425,13.2679,264.5590},
{405,1923.9409,-1795.5616,13.0877,90.0886},
{554,1807.0905,-1571.7120,13.1659,125.1048},
{426,1809.9016,-1676.0603,13.2422,180.7589},
{445,1809.6266,-1653.3402,13.2365,180.6530},
{492,1809.7056,-1660.3019,13.2380,180.6262},
{507,1978.4003,-1675.0157,15.6741,269.7336},
{545,1974.8230,-1693.5488,15.6741,92.1162},
{540,1929.2253,-1584.6954,13.2700,185.5542},
{482,1731.9725,-1590.8959,13.1630,77.7249},
{547,1721.5776,-1589.2834,13.1526,80.9057},
{550,1695.1428,-1519.2667,13.1671,0.7121},
{551,1694.7080,-1501.7454,13.1675,357.8150},
{452,720.1,-1694.0,-0.4,179.4},
{452,721.2,-1629.4,-0.4,180.9},
{452,739.5,-1670.5,-0.6,177.5},
{452,-1474.4949,693.0169,0.1996,0.0751},
{452,-1720.0717,1439.6177,-0.4913,357.6789},
{405,-2082.3562,-117.3896,34.9299,177.0056},
{405,-2072.5933,-117.4564,34.9383,178.0982},
{601,2240.3865,2437.4646,-7.4531,88.5965},
{601,2240.2437,2442.4761,-7.4531},
{601,2240.6177,2447.1157,-7.4531,88.5582},
{490,2241.0100,2471.1807,-7.4531,90.7890},
{490,2241.5444,2475.9316,-7.4531,88.9496},
{598,2246.3130,2432.7932,-7.4531,183.0070},
{598,2250.6426,2431.0869,-7.4531,177.5510},
{598,2255.0613,2431.0286,-7.4531,182.1863},
{598,2259.5898,2431.1636,-7.4531,180.4268},
{598,2263.8491,2431.2590,-7.4531,180.9401},
{598,2268.2810,2431.4951,-7.4531,179.2968},
{598,2272.8660,2431.2336,-7.4531,176.2455},
{598,2277.1106,2431.4255,-7.4531,177.1995},
{598,2280.8176,2424.5610,10.8203,270.0908},
{598,2298.0515,2424.4763,10.8203,88.493},
{497,2288.3972,2438.2754,46.9775,181.4567},
{497,2274.5322,2439.0732,46.9693,181.6611},
{599,2251.8992,2444.0942,10.8203,177.6664},
{599,2282.4248,2476.4668,10.8203,359.8827},
{599,2277.7869,2475.8293,10.8203,359.4575},
{427,2291.0261,2457.5977,10.8203,359.4572},
{427,2299.1064,2451.7056,3.2734,92.5627},
{427,2298.7217,2464.4309,3.2734,89.5409},
{490,2298.7773,2460.2996,3.2734,89.2197},
{490,2251.7600,2476.5627,10.8203,357.3773},
{490,2256.2629,2476.1338,10.8203,357.9984},
{523,2260.3118,2475.6333,10.8203,358.4266},
{523,2269.2825,2458.8616,10.8203,359.4106},
{523,2273.5830,2458.8098,10.8203,1.4264},
{523,2277.7815,2458.4675,10.8203,358.1949},
{405,-2062.4253,-117.6652,34.9347,180.8394},
{523,2282.3535,2459.8691,10.8203,359.8232};