wie der Titel bereits sagt, stürzt der Compiler ab bei der Fahrzeug-Variable. Mir ist bewusst, das es bei Klammerfehler vor kommt, aber ich habe es schon gefühlte 50 mal nach kontrolliert.
Und das Beste: es stürzt nur bei 2 Fahrzeugen ab, sind die auskommentiert dann läuft alles reibungslos. Wenn das nicht verdammt wichtig wäre, dann wäre es echt zum lachen. Bin verzweifelt
enum ENUM_VEHICLE {
vehName[50],
vehMaxkmh,
vehPS,
vehBenzin,
vehTank,
Float:vehVerbrauch,
vehPrice
};
new VehicleInfo[212][ENUM_VEHICLE] = {
{"Landstalker", 141, 83, 3, 35, 0.5, 13000},{"Bravura", 131, 75, 3, 46, 0.4, 12500},{"Buffalo", 167, 231, 5, 70, 0.8, 56800},{"Linerunner", 98, 131, 1, 120, 1.2, 120000},{"Perrenial", 119, 71, 4, 40, 0.6, 9000},{"Sentinel", 147, 95, 2, 50, 0.3, 5600},{"Dumper", 99, 200, 1, 200, 4.0, 200000},
{"Firetruck", 133, 130, 1, 130, 1.5, 140000},{"Trashmaster", 89, 110, 1, 120, 1.3, 180000},{"Stretch", 141, 99, 5, 140, 1.4, 15000},{"Manana", 116, 85, 5, 35, 0.4, 6000},{"Infernus", 198, 310, 5, 65, 1.4, 320000},{"Voodoo", 141, 120, 1, 50, 1.0, 10000},{"Pony", 99, 110, 1, 60, 1.2, 23000},{"Mule", 94, 100, 1, 65, 1.3, 45000},
{"Cheetah", 72, 145, 3, 70, 0.8, 90000},{"Ambulance", 138, 125, 2, 140, 1.5, 130000},{"Leviathan", 136, 510, 6, 210, 3.9, 400000},{"Moonbeam", 103, 130, 1, 72, 1.0, 30000},{"Esperanto", 133, 130, 1, 75, 1.2, 33300},{"Taxi", 130, 79, 3, 65, 0.5, 15000},{"Washington", 137, 109, 4, 50, 0.9, 5000},
{"Bobcat", 125, 109, 1, 80, 1.2, 11000},{"Mr Whoopee", 88, 65, 1, 130, 1.8, 15000},{"BF Injection", 121, 99, 1, 40, 0.4, 14000},{"Hunter", 190, 710, 6, 150, 2.1, 450000},{"Premier", 155, 110, 5, 50, 0.4, 6000},{"Enforcer", 148, 140, 1, 120, 2.3, 80000},{"Securicar", 144, 100, 1, 80, 0.9, 50000},
{"Banshee", 180, 270, 5, 80, 1.5, 130000},{"Predator", 161, 259, 1, 200, 2.4, 200000},{"Bus", 116, 120, 1, 120, 1.4, 125000},{"Rhino", 184, 320, 1, 300, 5.1, 300000},{"Barracks", 99, 107, 1, 110, 1.9, 180000},{"Hotknife", 149, 107, 1, 80, 1.2, 43000},{"Trailer 1", -1, -1, -1, -1, 0.0, 50000},{"Previon", 133, 107, 5, 63, 0.3, 2000},
{"Coach", 141, 123, 1, 120, 2.3, 150000},{"Cabbie", 127, 103, 2, 67, 1.3, 13000},{"Stallion", 151, 160, 5, 88, 1.3, 9000},{"Rumpo", 122, 100, 1, 99, 1.4, 19000},{"RC Bandit", 68, 12, 0, 100, 0.7, 500},{"Romero", 124, 108, 1, 89, 1.4, 130000},{"Packer", 114, 140, 1, 100, 1.9, 130300},{"Monster", 99, 340, 1, 300, 5.5, 400000},
{"Admiral", 146, 107, 5, 57, 0.3, 7000},{"Squalo", 200, 270, 1, 101, 0.9, 210000},{"Seasparrow", 129, 270, 6, 99, 3.2, 300000},{"Pizzaboy", 105, 72, 3, 50, 0.7, 12000},{"Tram"},{"Trailer 2", -1, -1, -1, -1, 0.0, 60000},{"Turismo", 173, 322, 5, 98, 1.2, 140000},
{"Speeder", 163, 243, 1, 110, 0.7, 190000},{"Reefer", 55, 148, 1, 90, 0.3, 70000},{"Tropic", 100, 258, 1, 150, 3.2, 150000},{"Flatbed", 141, 172, 1, 78, 1.3, 30000},{"Yankee", 95, 99, 1, 90, 1.5, 34000},{"Caddy", 85, 49, 2, 30, 0.2, 7000},{"Solair", 141, 99, 5, 59, 0.5, 4000},{"Berkley's RC Van", 122, 106, 1, 98, 2.1, 25000},
{"Skimmer", 190, 290, 6, 170, 3.2, 90000},{"PCJ-600", 140, 156, 5, 80, 0.9, 39459},{"Faggio", 102, 70, 2, 30, 0.3, 2000},{"Freeway", 132, 123, 5, 30, 0.4, 20000},{"RC Baron", 51, 15, 0, 100, 1.2, 1000},{"RC Raider", 58, 16, 0, 100, 1.3, 1000},{"Glendale", 132, 123, 1, 80, 0.8, 14000},{"Oceanic", 125, 126, 1, 80, 0.8, 10000},
{"Sanchez", 134, 136, 5, 70, 0.7, 19000},{"Sparrow", 121, 270, 6, 120, 2.5, 100000},{"Patriot", 140, 320, 1, 140, 3.2, 170000},{"Quad", 99, 69, 5, 40, 0.5, 15000},{"Coastguard", 108, 243, 1, 120, 0.9, 70000},{"Dinghy", 96, 273, 1, 90, 0.9, 70000},{"Hermes", 133, 102, 4, 78, 0.7, 17000},{"Sabre", 155, 122, 2, 70, 0.7, 4000},
{"Rustler", 210, 240, 6, 150, 2.1, 300000},{"ZR-350", 167, 170, 5, 99, 1.3, 60000},{"Walton", 105, 70, 1, 70, 0.7, 5000},{"Regina", 125, 90, 5, 66, 0.6, 9000},{"Comet", 165, 190, 5, 100, 1.1, 23000},{"BMX"},{"Burrito", 140, 120, 1, 110, 1.2, 43000},{"Camper", 110, 100, 1, 90, 0.7, 80000},{"Marquis", 60, 133, 1, 80, 2.2, 180000},
{"Baggage", 89, 109, 1, 50, 1.2, 17000},{"Dozer", 57, 171, 1, 105, 2.1, 95000},{"Maverick", 162, 245, 6, 130, 1.5, 140000},{"News Chopper", 147, 275, 6, 120, 1.4, 140000},{"Rancher", 125, 125, 5, 77, 0.6, 25000},{"FBI Rancher", 140, 175, 3, 78, 0.7, 45000},{"Virgo", 133, 108, 5, 109, 0.6, 13000},{"Greenwood", 126, 108, 5, 70, 0.6, 14000},
{"Jetmax", 162, 268, 1, 99, 1.6, 150000},{"Hotring", 192, 348, 1, 130, 3.2, 78000},{"Sandking", 158, 140, 5, 80, 0.8, 78300},{"Blista Compact", 145, 95, 5, 60, 0.5, 5000},{"Police Maverick", 170, 435, 6, 140, 2.6, 200000},{"Boxville", 96, 112, 1, 90, 0.9, 12000},{"Benson", 110, 122, 1, 110, 1.3, 25000},
{"Mesa", 126, 112, 5, 70, 0.4, 23000},{"RC Goblin", 26, 11, 0, 100, 0.9, 1000},{"Hotring Racer A", 192, 312, 4, 70, 1.0, 79000},{"Hotring Racer B", 192, 312, 4, 70, 1.0, 79000},{"Bloodring Banger", 155, 222, 4, 90, 2.3, 19000},{"Rancher", 125, 98, 5, 65, 0.9, 10000},
{"Super GT", 160, 218, 5, 77, 1.3, 78000},{"Elegant", 148, 218, 2, 55, 0.6, 7000},{"Journey", 96, 118, 1, 111, 1.7, 11000},{"Bike"},{"Mountain Bike"},{"Beagle", 180, 465, 6, 150, 4.4, 190000},{"Cropdust", 160, 565, 6, 130, 3.2, 200000},{"Stunt", 190, 432, 6, 140, 5.3, 210000},
{"Tanker", 108, 148, 1, 110, 2.1, 130000}, {"Roadtrain", 127, 156, 1, 110, 3.2, 11100},{"Nebula", 141, 106, 5, 40, 0.2, 6000},{"Majestic", 141, 106, 5, 45, 0.3, 9000},{"Buccaneer", 147, 109, 2, 70, 0.6, 8000},{"Shamal", 250, 537, 6, 160, 5.5, 230000},{"Hydra", 242, 539, 6, 220, 6.7, 500000},{"FCR-900", 148, 149, 5, 90, 1.4, 14000},
{"NRG-500", 160, 179, 5, 80, 1.3, 16000},{"HPV1000", 141, 119, 3, 99, 1.2, 40000},{"Cement Truck", 116, 169, 1, 100, 3.3, 98000},{"Tow Truck", 144, 180, 1, 90, 0.8, 70000},{"Fortune", 141, 104, 5, 65, 0.5,9990},{"Cadrona", 133, 109, 5, 65, 0.7, 19000},{"FBI Truck", 158, 180, 1, 99, 1.2, 37000},
{"Willard", 122, 100, 5, 80, 0.4, 6500},{"Forklift", 56, 47, 1, 40, 0.2, 2000},{"Tractor", 64, 90, 1, 50, 1.2, 17000},{"Combine", 98, 130, 1, 130, 3.2, 175000},{"Feltzer", 149, 135, 5, 89, 0.6, 12000},{"Remington", 151, 137, 2, 90, 3.2, 13000},{"Slamvan", 141, 99, 1, 80, 1.0, 14000},
{"Blade", 155, 120, 5, 70, 0.6, 15500},{"Freight"},{"Streak"},{"Vortex", 92, 218, 1, 50, 0.2, 99000},{"Vincent", 133, 108, 5, 60, 0.6, 7000},{"Bullet", 181, 238, 5, 99, 2.1, 110000},{"Clover", 147, 138, 5, 70, 0.7, 13000},{"Sadler", 135, 108, 1, 90, 1.3, 3000},
{"Firetruck LA", 133, 128, 1, 130, 0.8, 120000},{"Hustler", 132, 103, 1, 66, 0.4, 17000},{"Intruder", 133, 105, 5, 87, 0.9, 9000},{"Primo", 128, 109, 5, 60, 0.5, 10000},{"Cargobob", 140, 259, 6, 320, 3.2, 220000},{"Tampa", 137, 107, 3, 77, 0.6, 14000},{"Sunrise", 130, 102, 5, 90, 1.0, 12000},{"Merit", 141, 85, 5, 65, 0.5, 8000},
{"Utility", 108, 99, 1, 99, 0.9, 15000},{"Nevada"},{"Yosemite", 129, 91, 1, 70, 1.1, 13999},{"Windsor", 141, 144, 2, 89, 0.8, 90000},{"Monster A", 99, 433, 1, 200, 3.2, 120000},{"Monster B", 99, 434, 1, 200, 3.2, 120000},{"Uranus", 140, 134, 5, 70, 0.3, 70000},{"Jester", 159, 180, 5, 90, 0.9, 76000},
{"Sultan", 151, 115, 5, 80, 0.6, 10000},{"Stratum", 138, 113, 5, 60, 0.2, 8000},{"Elegy", 159, 123, 4, 99, 0.9, 60000},{"Raindance", 141, 249, 6, 300, 3.3, 160000},{"RC Tiger", 79, 17, 0, 100, 0.5, 1500},{"Flash", 147, 103, 2, 50, 0.2, 13400},{"Tahoma", 143, 99, 5, 70, 0.9, 9000},{"Savanna", 155, 120, 1, 110, 1.3, 9000},
{"Bandito", 131, 140, 1, 90, 3.2, 40000},{"Freight Flat", -1, -1, -1, -1, 0.0, 0},{"Streak Carriage", -1, -1, -1, -1, 0.0, 0},{"Kart", 83, 50, 1, 50, 0.1, 12000},{"Mower", 55, 50, 1, 60, 0.3, 17000},{"Duneride", 101, 200, 1, 110, 2.2, 54000},{"Sweeper", 58, 90, 1, 50, 0.2, 15900},
{"Broadway", 141, 119, 1, 80, 0.7, 19000},{"Tornado", 141, 121, 1, 90, 0.9, 18000},{"AT-400", 242, 569, 6, 400, 6.5, 789000},{"DFT-30", 116, 171, 1, 88, 1.0, 78000},{"Huntley", 141, 131, 5, 70, 0.4, 9500},{"Stafford", 137, 101, 5, 90, 1.2, 17000},{"BF-400", 139, 135, 5, 66, 0.4, 19000},{"Newsvan", 122, 117, 1, 99, 0.6, 90000},
{"Tug", 76, 117, 1, 40, 0.1, 34000},{"Trailer 3", -1, -1, -1, -1, 0.0, 35000},{"Emperor",137, 143, 5, 90, 1.1, 25000},{"Wayfarer", 132, 113, 3, 90, 1.2, 21000},{"Euros", 147, 153, 3, 101, 0.9, 89000},{"Hotdog", 96, 83, 1, 90, 2.0, 17000},{"Club", 146, 123, 5, 70, 0.3, 12000},{"Freight Carriage", -1, -1, -1, -1, 0.0, 0},
{"Trailer 3", -1, -1, -1, -1, 0.0, 34000},{"Andromada", 242, 459, 6, 300, 4.4, 145000},{"Dodo", 180, 259, 6, 200, 2.5, 95000},{"RC Cam", 60, 15, 0, 100, 0.6, 700},{"Launch", 109, 318, 1, 200, 1.6, 120000},{"Police Car (LSPD)", 157, 163, 2, 80, 0.7, 75000},{"Police Car (SFPD)", 157, 163, 2, 80, 0.7, 75000},
{"Police Car (LVPD)", 157, 163, 1, 80, 0.7, 76000},{"Police Ranger", 141, 183, 1, 90, 0.9, 78000},{"Picador", 135, 103, 1, 80, 0.5, 9999},{"S.W.A.T. Van", 100, 349, 1, 200, 3.2, 120000},{"Alpha", 151, 239, 5, 77, 0.6, 132000},{"Phoenix", 153, 139, 5, 70, 1.9, 80000},{"Glendale", -1, -1, -1, -1, 0.0, 0},
{"Sadler", -1, -1, -1, -1, 0.0, 0},{"Luggage Trailer A", -1, -1, -1, -1, 0.0, 14000},{"Luggage Trailer B", -1, -1, -1, -1, 0.0, 14000},{"Stair Trailer", -1, -1, -1, -1, 0.0, 14000},{"Boxville", 96, 139, 1, 110, 1.9, 45000},{"Farm Plow", -1, -1, -1, -1, 0.0, 30000},
{"Utility Trailer", -1, -1, -1, -1, 0.0, 35900}
};
Alles anzeigen
Ich weiß meine Problematik ist absurt aber leider existent. Hoffentlich kann mir geholfen werden.