Autohaus

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
  • Hey Und zwar möchte ich dieses Autohaus vergrößern
     enum aHaus
    {
    Name[128],
    Autohaus,
    Modelid,
    Carid,
    aPreis,
    Float:CarPos_x,
    Float:CarPos_y,
    Float:CarPos_z,
    Float:CarRotate,
    Tank,
    };
    new Kaufliste[13][aHaus] = {


    // Intercars - Fahrzeugname, 0, Fahrzeug ID, FAhrzeug Preis, x,y,z,r,Tank
    {"Infernus", 0, 411, 1, 330000, 530.0753,-1299.6213,16.9813,314.3886, 70},
    {"Strech", 0, 409, 1, 1250000, 524.1801,-1299.7192,16.9805,310.9188, 125},
    {"Buffalo", 0, 402, 1, 240000, 756.7585,-1332.6445,13.2499,181.9956, 60},
    {"Cheetah", 0, 415, 1, 220000, 766.1091,-1335.2157,13.2436,182.9725, 50},
    {"Comet", 0, 480, 1, 200000, 782.2122,-1336.2606,13.2434,92.6824, 60},
    {"ZR-350", 0, 477, 1, 260000, 784.0613,-1344.4030,13.2456,90.2116, 70},
    {"NRG-500", 0, 522, 1, 60000, 783.9218,-1358.6075,13.2455,84.8184, 35},
    {"PCJ-600", 0, 461, 1, 42000, 782.7761,-1365.7246,13.2448,90.7240, 35},
    {"Patriot", 0, 470, 1, 430000, 781.5416,-1378.3922,13.3464,87.2654, 120},
    {"Sandking", 0, 495, 1, 420000, 764.8648,-1382.0947,13.3769,269.4504, 120},
    {"Turismo", 0, 451, 1, 385000, 555.0873,-1300.0077,16.9606,43.9871, 80},
    {"Rancher", 0, 489, 1, 80000, 766.2205,-1372.1996,13.2523,276.5508, 80},
    {"Caddy", 0, 457, 1, 18000, 1342.7660,-1812.3921,14.0928,308.7779, 20}


    };
    Sobald ich oben die 13 in 14 umwandle und einfac heins dazu tuhe geht es nicht mehr und es gibt errors.
    Was muss ich machen das es geht?
    Danke im vorraus.


    Mfg.

  • Was meinste genau ich mach das so z.b
    enum aHaus
    {
    Name[128],
    Autohaus,
    Modelid,
    Carid,
    aPreis,
    Float:CarPos_x,
    Float:CarPos_y,
    Float:CarPos_z,
    Float:CarRotate,
    Tank,
    };
    new Kaufliste[14][aHaus] = {


    // Intercars - Fahrzeugname, 0, Fahrzeug ID, FAhrzeug Preis, x,y,z,r,Tank
    {"Infernus", 0, 411, 1, 330000, 530.0753,-1299.6213,16.9813,314.3886, 70},
    {"Strech", 0, 409, 1, 1250000, 524.1801,-1299.7192,16.9805,310.9188, 125},
    {"Buffalo", 0, 402, 1, 240000, 756.7585,-1332.6445,13.2499,181.9956, 60},
    {"Cheetah", 0, 415, 1, 220000, 766.1091,-1335.2157,13.2436,182.9725, 50},
    {"Comet", 0, 480, 1, 200000, 782.2122,-1336.2606,13.2434,92.6824, 60},
    {"ZR-350", 0, 477, 1, 260000, 784.0613,-1344.4030,13.2456,90.2116, 70},
    {"NRG-500", 0, 522, 1, 60000, 783.9218,-1358.6075,13.2455,84.8184, 35},
    {"PCJ-600", 0, 461, 1, 42000, 782.7761,-1365.7246,13.2448,90.7240, 35},
    {"Patriot", 0, 470, 1, 430000, 781.5416,-1378.3922,13.3464,87.2654, 120},
    {"Sandking", 0, 495, 1, 420000, 764.8648,-1382.0947,13.3769,269.4504, 120},
    {"Turismo", 0, 451, 1, 385000, 555.0873,-1300.0077,16.9606,43.9871, 80},
    {"Rancher", 0, 489, 1, 80000, 766.2205,-1372.1996,13.2523,276.5508, 80},
    {"Caddy", 0, 457, 1, 18000, 1342.7660,-1812.3921,14.0928,308.7779, 20}
    {"bEISPIEL", 0, 495, 1, 420000, 764.8648,-1382.0947,13.3769,269.4504, 120},


    };

  • versuchs soo


    enum aHaus
    {
    Name[128],
    Autohaus,
    Modelid,
    Carid,
    aPreis,
    Float:CarPos_x,
    Float:CarPos_y,
    Float:CarPos_z,
    Float:CarRotate,
    Tank,
    };
    new Kaufliste[14][aHaus] = {


    // Intercars - Fahrzeugname, 0, Fahrzeug ID, FAhrzeug Preis, x,y,z,r,Tank
    {"Infernus", 0, 411, 1, 330000, 530.0753,-1299.6213,16.9813,314.3886, 70},
    {"Strech", 0, 409, 1, 1250000, 524.1801,-1299.7192,16.9805,310.9188, 125},
    {"Buffalo", 0, 402, 1, 240000, 756.7585,-1332.6445,13.2499,181.9956, 60},
    {"Cheetah", 0, 415, 1, 220000, 766.1091,-1335.2157,13.2436,182.9725, 50},
    {"Comet", 0, 480, 1, 200000, 782.2122,-1336.2606,13.2434,92.6824, 60},
    {"ZR-350", 0, 477, 1, 260000, 784.0613,-1344.4030,13.2456,90.2116, 70},
    {"NRG-500", 0, 522, 1, 60000, 783.9218,-1358.6075,13.2455,84.8184, 35},
    {"PCJ-600", 0, 461, 1, 42000, 782.7761,-1365.7246,13.2448,90.7240, 35},
    {"Patriot", 0, 470, 1, 430000, 781.5416,-1378.3922,13.3464,87.2654, 120},
    {"Sandking", 0, 495, 1, 420000, 764.8648,-1382.0947,13.3769,269.4504, 120},
    {"Turismo", 0, 451, 1, 385000, 555.0873,-1300.0077,16.9606,43.9871, 80},
    {"Rancher", 0, 489, 1, 80000, 766.2205,-1372.1996,13.2523,276.5508, 80},
    {"Caddy", 0, 457, 1, 18000, 1342.7660,-1812.3921,14.0928,308.7779, 20},
    {"bEISPIEL", 0, 495, 1, 420000, 764.8648,-1382.0947,13.3769,269.4504, 120}


    };