Array hilfe

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
  • Was ist an diesem Code falsch?


    enum VehicleInfo
    {
    VehicleName[128],
    MLiter
    };
    new Vinfo[212][VehicleInfo]=
    {
    {"Landstalker",100},
    {"Bravura",100},
    {"Buffalo",100},
    {"Linerunner",100},
    {"Pereniel",100},
    {"Sentinel",100},
    {"Dumper",100},
    {"Feuerwehr",100},
    {"Trashmaster",100},
    {"Stretch",100},
    {"Manana",100},
    {"Infernus",100},
    {"Voodoo",100},
    {"Pony",100},
    {"Mule",100},
    {"Cheetah",100},
    {"Rettungswagen",100},
    {"Leviathan",100},
    {"Moonbeam",100},
    {"Esperanto",100},
    {"Taxi",100},
    {"Washington",100},
    {"Bobcat",100},
    {"MrWhoopee",100},
    {"BFInjection",100},
    {"Kampfhelicopter",100},
    {"Premier",100},
    {"Enforcer",100},
    {"Securicar",100},
    {"Banshee",100},
    {"Predator",100},
    {"Bus",100},
    {"Panzer",100},
    {"Barracks",100},
    {"Hotknife",100},
    {"Trailer",100},
    {"Previon",100},
    {"Coach",100},
    {"Cabbie",100},
    {"Stallion",100},
    {"Rumpo",100},
    {"RCBandit",100},
    {"Romero",100},
    {"Packer",100},
    {"MonsterTruck",100},
    {"Admiral",100},
    {"Squalo",100},
    {"Seasparrow",100},
    {"Pizzaboy",100},
    {"Tram",100},
    {"Trailer",100},
    {"Turismo",100},
    {"Speeder",100},
    {"Reefer",100},
    {"Tropic",100},
    {"Flatbed",100},
    {"Yankee",100},
    {"Caddy",100},
    {"Solair",100},
    {"Berkley'sRCVan",100},
    {"Skimmer",100},
    {"PCJ-600",100},
    {"Roller",100},
    {"Freeway",100},
    {"RCBaron",100},
    {"RCRaider",100},
    {"Glendale",100},
    {"Oceanic",100},
    {"Sanchez",100},
    {"Sparrow",100},
    {"Patriot",100},
    {"Quad",100},
    {"Coastguard",100},
    {"Dinghy",100},
    {"Hermes",100},
    {"Sabre",100},
    {"Rustler",100},
    {"ZR-350",100},
    {"Walton",100},
    {"Regina",100},
    {"Comet",100},
    {"Fahrrad",100},
    {"Burrito",100},
    {"Camper",100},
    {"Marquis",100},
    {"Baggage",100},
    {"Dozer",100},
    {"Maverick",100},
    {"ReporterHelicopter",100},
    {"Rancher",100},
    {"BundeswehrRancher",100},
    {"Virgo",100},
    {"Greenwood",100},
    {"Jetmax",100},
    {"Hotring",100},
    {"Sandking",100},
    {"BlistaCompact",100},
    {"Polizeihelicopter",100},
    {"Boxville",100},
    {"Benson",100},
    {"Mesa",100},
    {"RCGoblin",100},
    {"HotringRacer",100},
    {"HotringRacer",100},
    {"BloodringBanger",100},
    {"Rancher",100},
    {"SuperGT",100},
    {"Elegant",100},
    {"Journey",100},
    {"Bike",100},
    {"MountainBike",100},
    {"Beagle",100},
    {"Cropdust",100},
    {"Stunt",100},
    {"Tanker",100},
    {"RoadTrain",100},
    {"Nebula",100},
    {"Majestic",100},
    {"Buccaneer",100},
    {"Shamal",100},
    {"Hydra",100},
    {"FCR-900",100},
    {"NRG-500",100},
    {"HPV1000",100},
    {"CementTruck",100},
    {"TowTruck",100},
    {"Fortune",100},
    {"Cadrona",100},
    {"FBITruck",100},
    {"Willard",100},
    {"Gabelstabler",100},
    {"Traktor",100},
    {"Combine",100},
    {"Feltzer",100},
    {"Remington",100},
    {"Slamvan",100},
    {"Blade",100},
    {"Freight",100},
    {"Streak",100},
    {"Vortex",100},
    {"Vincent",100},
    {"Bullet",100},
    {"Clover",100},
    {"Sadler",100},
    {"Feuerwehr",100},
    {"Hustler",100},
    {"Intruder",100},
    {"Primo",100},
    {"Cargobob",100},
    {"Tampa",100},
    {"Sunrise",100},
    {"Merit",100},
    {"Utility",100},
    {"Nevada",100},
    {"Yosemite",100},
    {"Windsor",100},
    {"MonsterTruck",100},
    {"MonsterTruck",100},
    {"Uranus",100},
    {"Jester",100},
    {"Sultan",100},
    {"Stratum",100},
    {"Elegy",100},
    {"Raindance",100},
    {"RCTiger",100},
    {"Flash",100},
    {"Tahoma",100},
    {"Savanna",100},
    {"Bandito",100},
    {"Freight",100},
    {"Trailer",100},
    {"Kart",100},
    {"Mower",100},
    {"Duneride",100},
    {"Sweeper",100},
    {"Broadway",100},
    {"Tornado",100},
    {"AT-400",100},
    {"DFT-30",100},
    {"Huntley",100},
    {"Picador",100},
    {"S.W.A.T.Van",100},
    {"Alpha",100},
    {"Phoenix",100},
    {"Glendale",100},
    {"Sadler",100},
    {"LuggageTrailer",100},
    {"LuggageTrailer",100},
    {"StairTrailer",100},
    {"Boxville",100},
    {"FarmPlow",100},
    {"UtilityTrailer",100}
    };



    Fehler


    Code
    Zeile (914) : Multi-Dimensionaler Array muss zuerst initialisiert werden


    MfG
    GAS Digital

  • Es sind weniger als 212 Einträge, vielleicht liegt es dadran.