Brauche Hilfe bei einen kleinen Error

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
  • Guten Tag Breadfish
    ich habe 1 error habe vieles probiert aber es hat nichts geklappt.
    wie fixxe ich das?


    Error
    C:\Users\Darius\Desktop\Symbole\Alle Ordner\Sampserver\filterscripts\autohaus.pwn(148) : error 052: multi-dimensional arrays must be fully initialized



    Zeile



    new Buylist[41][ahModel] =
    {
    {"Stallion",0,439,-1,125000,5000,783.0,-1335.0,13.2,121.1},//1
    {"Feltzer",0,533,-1,75000,3000,783.0,-1340.0,13.2,121.1},//2
    {"Windsor",0,555,-1,200000,3400,783.0,-1345.0,13.2,121.1},//3
    {"Blade",0,536,-1,90000,3000,783.0,-1350.0,13.2,121.1},//4
    {"Remington",0,534,-1,150000,3000,783.0,-1355.0,13.2,121.1},//5
    {"Savanna",0,567,-1,350000,3000,783.0,-1360.0,13.2,121.1},//6
    {"Slamvan",0,535,-1,130000,3000,783.0,-1365.0,13.2,121.1},//7
    {"Voodoo",0,412,-1,80000,3000,783.0,-1370.0,13.2,121.1},//8
    {"Huntley",0,579,-1,90000,1000,783.0,-1375.0,13.2,121.1},//9
    {"Buccaneer",0,518,-1,150000,1000,783.0,-1380.0,13.2,121.1},//10
    {"Clover",0,542,-1,35000,500,765.0,-1360.0,13.4,301.1},//11
    {"Elegant",0,507,-1,100000,650,765.0,-1365.0,13.4,301.1},//12
    {"Elegy",0,562,-1,500000,10000,765.0,-1370.0,13.4,301.1},//13
    {"Esperanto",0,419,-1,65000,650,765.0,-1375.0,13.4,301.1},//14
    {"Fortune",0,526,-1,120000,500,765.0,-1380.0,13.4,301.1},//15
    {"Sultan",0,560,-1,700000,10000,766.0,-1333.0,13.3,211.1},//16
    {"Sunrise",0,550,-1,125000,2000,761.0,-1333.0,13.3,211.1},//17
    {"Vincent",0,540,-1,65000,2000,756.0,-1333.0,13.3,211.1},//18
    {"Alpha",0,602,-1,50000,2000,751.0,-1333.0,13.3,211.1},//19
    {"Banshee",0,429,-1,600000,5500,746.0,-1333.0,13.3,211.1},//20
    {"Blista Compact",1,70000,-1,35000,2500,-1668.6447,1207.0372,7.0249,309.5959},//21
    {"Buffalo",1,402,-1,150000,3000,-1663.6709,1215.2883,7.0234,274.9868},//22
    {"Bullet",1,541,-1,2000000,17500,-1651.3892,1210.3469,7.0208,281.3321},//23
    {"Cheetah",1,415,-1,1000000,10000,-1677.3560,1207.8099,13.4461,208.2602},//24
    {"Club",1,589,-1,70000,750,-1665.7789,1222.4406,13.4485,279.6459},//25
    {"Euros",1,587,-1,65000,7000,-1660.7256,1217.6407,13.4444,283.1553},//26
    {"Infernus",1,411,-1,1500000,7000,-1653.2462,1210.7842,13.4460,266.7211},//27
    {"Jester",1,559,-1,300000,10000,-1676.0128,1207.1641,20.9248,261.5029},//28
    {"Phoenix",1,603,-1,250000,4000,-1664.4386,1206.8241,20.9289,332.5978},//29
    {"Super GT",1,506,-1,1500000,20000,-1651.6372,1208.2538,20.9231,305.1015},//30
    {"Turismo",1,451,-1,2500000,20000,-1665.1248,1222.7113,20.9265,267.4103},//31
    {"Uranus",1,558,-1,800000,10000,-1661.1943,1217.9629,20.9268,286.1662},//32
    {"ZR-350",1,477,-1,650000,7000,-1654.3116,1214.8097,20.9267,173.5712},//33
    {"Freeway",0,463,-1,60000,30000,750.7272,-1358.3872,13.0996,273.7736},//34
    {"NRG 500",0,522,-1,100000,50000,744.2546,-1358.5304,13.5000,273.7268},//35
    {"FCR-900",0,521,-1,80000,50000,2503.9609,-1746.6329,12.9670,67.5730},//36
    {"Freeway",0,463,-1,60000,30000,2490.0132,-1747.6709,13.0605,303.0239},//37
    {"Roller",0,426,-1,10000,8000,2490.0701,-1751.0795,13.1186,297.6983},//38
    {"PCJ",0,522,-1,20000,15000,2490.1484,-1754.4520,13.1055,302.9126},//39
    {"NRG",0,522,-1,100000,50000,2503.9910,-1751.3148,12.9683,59.9039}//40
    };


    Das ROTE ist die Zeile
    ich freue mich aufjede sinnvolle antwort

    Projekt:


    German CrimeLife Testserver: 5.62.71.62:7777

  • Beim Fehlerklärbär hat IPrototypeI eine sehr gute Antwort geschrieben



  • Also muss ich das einfach abtrennen und so machen immer in 4er schritten???



    new Float:Test [3][2][4] = {
    {
    {2471.7231, -1558.3952, 23.5809, 0.0},
    {2474.7231, -1558.3952, 23.5751, 0.0}
    },
    {
    {2471.7231, -1558.3952, 23.5809, 0.0},
    {2474.7231, -1558.3952, 23.5751, 0.0}
    },
    {
    {2471.7231, -1558.3952, 23.5809, 0.0},
    {2474.7231, -1558.3952, 23.5751, 0.0}
    }
    };




    oder wie kapiere das nicht bin noch anfänger sorry

    Projekt:


    German CrimeLife Testserver: 5.62.71.62:7777