Hilfe mit Arrays

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hallo Community,


    Ich hab ein Error mit:

    Zitat

    C:\Users\Tobias\Desktop\Scripts\jopjopka.pwn(1508) : error 052: multi-dimensional arrays must be fully initialized



    new Kaufliste[56][ahModell] =
    {
    {"Glendale",0,466,-1,2500,150,1542.2650,-1560.4933,14.0,165.1706},
    {"Feltzer",0,533,-1,5000,150,1541.7693,-1549.6013,14.0,167.9840},
    {"Windsor",0,555,-1,111000,6400,1515.2148,-1541.8873,14.0,357.7393},
    {"Blade",0,536,-1,3500,15000,1541.7734,-1539.5081,13.8271,172.1827},
    {"Remington",0,534,-1,9400,25000,1541.9995,-1528.1769,13.9099,170.8614},
    {"Savanna",0,567,-1,11000,15000,1541.7781,-1517.6106,13.9869,170.5612},
    {"Slamvan",0,535,-1,10300,30000,1541.9537,-1507.7150,13.9454,168.2682},
    {"Voodoo",0,412,-1,9300,25000,1515.0424,-1550.4841,13.9628,346.4833},
    {"Huntley",0,579,-1,36500,17500,1533.1465,-1499.5222,14.1014,107.6200},
    {"Stratum",0,561,-1,14600,20000,1523.3287,-1499.8225,13.9992,238.8274},
    {"Clover",0,542,-1,1100,5000,1467.0664,-1500.1447,13.8192,244.2637},
    {"Elegant",0,507,-1,13300,6500,1476.3713,-1499.7511,13.9587,112.3678},
    {"Elegy",0,562,-1,21600,15000,1495.5560,-1533.4883,13.8940,282.3519},
    {"Patriot",0,470,-1,209000,70000,1514.0428,-1499.7662,14.1092,116.7588},
    {"Fortune",0,526,-1,2600,3000,1514.9370,-1560.8137,13.9779,352.2365},
    {"Sultan",0,560,-1,66000,35000,1507.0437,-1533.1736,13.9210,76.3874},
    {"Sunrise",0,550,-1,16300,8000,1504.8115,-1499.5789,14.0114,240.5551},
    {"Vincent",0,540,-1,3700,8000,1522.3934,-1570.3705,14.0304,272.9254},
    {"Alpha",0,602,-1,21200,10000,1495.8151,-1500.0148,13.9330,113.3079},
    {"Banshee",0,429,-1,189000,2500,1485.7695,-1500.1362,13.7763,245.7272},
    {"Blista Compact",1,496,-1,3700,25000,-1668.6447,1207.0372,7.0249,309.5959},
    {"Buffalo",1,402,-1,180000,35000,-1663.6709,1215.2883,7.0234,274.9868},
    {"Bullet",1,541,-1,305000,45000,-1651.3892,1210.3469,7.0208,281.3321},
    {"Cheetah",1,415,-1,219000,36000,-1671.5294,1206.1067,13.4442,259.1177},
    {"Club",1,589,-1,3700,15000,-1665.7789,1222.4406,13.4485,279.6459},
    {"Euros",1,587,-1,5100,12000,-1660.7256,1217.6407,13.4444,283.1553},
    {"Infernus",1,411,-1,599000,68000,-1653.2462,1210.7842,13.4460,266.7211},
    {"Jester",1,559,-1,45800,15000,-1676.0128,1207.1641,20.9248,261.5029},
    {"Phoenix",1,603,-1,66000,10000,-1664.4386,1206.8241,20.9289,332.5978},
    {"Super GT",1,506,-1,187000,30000,-1651.6372,1208.2538,20.9231,305.1015},
    {"Turismo",1,451,-1,471000,35000,-1665.1248,1222.7113,20.9265,267.4103},
    {"Premier",1,426,-1,50000,45000,-1661.1943,1217.9629,20.9268,286.1662},
    {"ZR-350",1,477,-1,110000,26000,-1657.4020,1213.2380,20.9102,287.2069},
    {"Sanchez",0,468,-1,14000,7500,1466.8445,-1533.8687,13.8912,268.6022},
    {"Freeway",0,463,-1,19000,10000,1477.6992,-1533.2556,13.7709,77.3125},
    {"Mower",2,572,-1,4000,15000,2145.7375,1399.1079,10.3926,180.1},
    {"Quad",2,471,-1,21000,20000,2139.0044,1398.7233,10.2785,180.1},
    {"Kart",2,571,-1,3000,20000,2132.9026,1398.6613,10.1022,180.1},
    {"Caddy",2,457,-1,1500,20000,2126.3518,1398.6478,10.4298,180.1},
    {"Camper",2,483,-1,7000,20000,2151.6248,1398.0774,10.8088,180.1},
    {"Hotknife",2,434,-1,44000,25000,2126.3159,1407.8312,10.7936,0.1},
    {"BF Injection",2,424,-1,33000,25000,2120.1184,1408.3947,10.5944,0.1},
    {"Bandito",2,568,-1,71000,25000,2119.8989,1399.2928,10.6762,180.1},
    {"Hotring A",2,502,-1,451000,35000,2145.6438,1409.0603,10.7136,0.1},
    {"Sandking",2,495,-1,451000,30000,2151.8958,1407.6707,11.1689,0.1},
    {"Perenniel",3,404,-1,2000,12000,1767.8556,-1690.9355,13.1595,208.9280},
    {"Manana",3,410,-1,2100,16000,1771.8871,-1690.4110,13.0797,208.9280},
    {"Bobcat",3,422,-1,3000,30000,1776.1863,-1690.1582,13.4179,208.9280},
    {"Sabre",3,475,-1,23000,20000,1780.3630,-1690.1617,13.2405,208.9280},
    {"Majestic",3,517,-1,7100,50000,1784.6860,-1690.9323,13.3005,208.9280},
    {"Tampa",3,549,-1,4300,12000,1788.7902,-1690.3807,13.1542,208.9280},
    {"Wayfarer",3,586,-1,16300,30000,1792.3208,-1690.6400,12.9948,208.9280},
    {"PCJ-600",3,461,-1,16000,35000,1794.9778,-1690.9299,13.0686,208.9280},
    {"Comet",3,480,-1,96000,60000,1798.2477,-1690.0856,13.2728,208.9280},
    {"Flash",0,565,-1,40000,20000,1534.0516,-1569.8325,13.8357,73.2248}
    }; //Die ZEILE 1508


    Mit freundlichen Grüßen
    Tobi