hmpf wieso zum teufel macht der dann 2 errors ?...
Beiträge von JustMeAndMyLife
-
-
Das ist ja nicht der error, error ist ja in der Zeile darunter also hier Zeile 76....
Bzw. hier das ganze:
Code
Alles anzeigennew Dtc_LockOnSpawn = 1; enum dtcCarModell { dtc_Autohaus, dtc_CarModel, dtc_CarPreis }; new dtcKaufliste[][dtcCarModell] = { //CARSYS //0 = 2 Räder {0,462,2000}, //Faggio {0,581,70000}, //BF-400 {0,521,80000}, //FCR-900 {0,463,60000}, //Freeway {0,461,90000}, //PCJ-600 {0,468,20000}, //Sanchez {0,586,20000}, //Wayfarer {0,471,30000}, //Quad {0,522,120000}, //NRG // 1 = Bugy {1,470,1}, // Buggy ^^ // 2 = BILLIG Autohaus {2,467,42000}, //Oceanic {2,536,50000}, //Blade {2,534,45000}, //Remigton {2,567,47000}, //Savanna {2,535,49000}, //Slamvan {2,412,50000}, //Voodo {2,421,40000}, // Washington {2,518,30000}, //Buccanee {2,542,23000}, //Clover {2,496,45000}, //Blistac {2,439,50000}, //Stallion {2,550,43000}, //Sunrise {2,540,47000}, //Vincent {2,404,32500}, //Peren {2,413,47000}, //Pony {2,458,45500}, //Solair {2,479,47500}, //Regina {2,440,49000}, //Rumpo {2,483,31000}, //Camper {2,500,34500}, //Mesa {2,508,80000}, //Journey {2,554,32000}, //Yosemite {2,561,36000}, //Startum {2,543,28000}, //Sadler {2,527,44000}, //Cadrona {2,526,180000}, //Fortune {2,400,100000}, //Landstal // LUXUS Base {3,587,700000}, //EUROS {3,426,575000}, //Premier {3,533,45000}, //Feltzer {3,579,430000}, //Huntley {3,507,565000}, //Elegant {3,602,545000}, //Alpha {3,545,495000}, //Hustler {3,409,1250000}, //Stretch {3,562,300000}, //Elegy {3,560,620000}, //Sultan {3,429,590000}, //Banshee {3,402,600000}, //Buffalo {3,541,940000}, //Bullet {3,415,920000}, //Cheetah {3,589,530000}, //Club {3,411,970000}, //Infernus {3,559,640000}, //Jester {3,603,720000}, //Phönix {3,506,870000}, //Supergt {3,451,890000}, //Turismo {3,558,720000}, //Uranus {3,480,690000}, //Comet {3,477,850000}, //Zr350 {3,565,620000}, //Flash //2 = LS AIRPORT (Flugzeuge Helikopter) {4,487,6000000}, //Maverick {4,469,2500000}, //Spearrow {4,511,5000000}, //Beagle {4,593,4500000}, //Dodo {4,513,10000000}, //StuntFlugzeug {4,519,18000000}, //Shamal }; new Float:DtcParkPlatz[AUTOHAUSER][MAXPARKPLATZE][4] = { {//2Räder LS {2471.7231, -1558.3952, 23.5809, 0.0}, {2474.7231, -1558.3952, 23.5751, 0.0}, {2477.7231, -1558.3952, 23.5771, 0.0}, {2480.7231, -1558.3952, 23.5921, 0.0} }, {//bug {-5000.0, -50000.0, -50000.0, 5000000.500000}, {-5000.0, -50000.0, -50000.0, 500000.0}, {-5000.0, -50000.0, -50000.0, 500000.0}, {-5000.0, -50000.0, -50000.0, 500000.0} }, {//LS CarSeller {2148.0617, -1138.3233, 25.1975, 270.0}, {2148.5222, -1143.1345, 24.6887, 270.0}, {2147.8491, -1148.3714, 24.1134, 270.0}, {2147.5104, -1152.7818, 23.6500, 270.0} }, {//LS Studio {743.0629, -1334.0764, 13.2483, 180.0}, {748.0629, -1334.0764, 13.2708, 180.0}, {753.0629, -1334.0764, 13.2483, 180.0}, {758.0629, -1334.0764, 13.2708, 180.0} }, {//LS AIRPORT {1725.5981,-2414.4631,13.5547,91.2938}, {1648.4031,-2413.2231,13.5547,91.2938}, {1566.8810,-2416.3340,13.5547,89.3299}, {1899.1111,-2374.5435,13.8934,270.3974} } }; new Float:DtcSonstiges[AUTOHAUSER][5][6] = { {//2Räder LS {2471.0097, -1542.7354, 24.1628, 0.0}, // Info Zeichen etc. {2475.3952, -1537.1600, 28.6523, 340.2388}, // LiveView Car {2472.8505, -1533.2855, 29.0964, 0.0}, // LiveView Cam {2468.4548, -1534.1237, 29.1007, 0.0}, // LiveView Player {2470.8825, -1544.0834, 24.0406, 178.5745} // LiveView Player Exit }, {//Bug {5000000.0, 0.0, -40.0, 0.0}, {5000000.0, 0.0, -40.0, 0.0}, {5000000.0, 0.0, -40.0, 0.0}, {5000000.0, 0.0, -40.0, 0.0}, {5000000.0, 0.0, -40.0, 0.0} }, {//LS CarSeller {2131.7124, -1151.0965, 24.0838, 0.0}, // Info Zeichen etc. {2131.7192, -1163.0882, 27.8755, 301.3163}, // LiveView Car {2133.0817, -1156.3632, 28.1484, 0.0}, // LiveView Cam {2133.0031, -1154.4589, 28.1484, 0.0}, // LiveView Player {2131.7634, -1148.4149, 24.3788, 359.2809} // LiveView Player Exit }, {//LS Studio {750.7259, -1356.9744, 13.5000, 0.0}, // Info Zeichen etc. {740.5779, -1365.2796, 25.4192, 225.3830}, // LiveView Car {741.2583, -1370.9835, 25.6922, 0.0}, // LiveView Cam {741.7747, -1376.3156, 25.6922, 0.0}, // LiveView Player {753.6887, -1338.2799, 13.5320, 14.7941} // LiveView Player Exit }, {//LS AIRPORT {1774.7336,-2433.5491,13.5547,252.3329}, // Info Zeichen etc. {1765.1451,-2286.7554,26.7960,313.5673}, // LiveView Car {1765.4340,-2271.0989,31.0900,181.3627}, // LiveView Cam {1765.4340,-2271.0989,31.0900,181.3627}, // LiveView Player {1778.3945,-2432.7996,13.5547,171.6871} // LiveView Player Exit } }; enum dtc_PlayerCar { CarId, CarOwner[MAX_PLAYER_NAME], CarModel, Float:CarPos_x, Float:CarPos_y, Float:CarPos_z, Float:CarRotate, CarNitro, CarHyd, CarWheel, CarAusp, CarSideL, CarSideR, CarFB, CarRB, CarSpoiler, CarRoof, CarHood, CarVents, CarLamps, CarPJ, CarC1, CarC2, CarPreis, CarArrest, Plate[15], }; new PlayerCar[MAX_PLAYERS][MaxVeh][dtc_PlayerCar]; new CarName[][] = { "Landstalker", "Bravura", "Buffalo", "Linerunner", "Perrenial", "Sentinel", "Dumper", "Firetruck", "Trashmaster", "Stretch", "Manana", "Infernus", "Voodoo", "Pony", "Mule", "Cheetah", "Ambulance", "Leviathan", "Moonbeam", "Esperanto", "Taxi", "Washington", "Bobcat", "Whoopee", "BF Injection", "Hunter", "Premier", "Enforcer", "Securicar", "Banshee", "Predator", "Bus", "Rhino", "Barracks", "Hotknife", "Trailer", "Previon", "Coach", "Cabbie", "Stallion", "Rumpo", "RC Bandit", "Romero", "Packer", "Monster", "Admiral", "Squalo", "Seasparrow", "Pizzaboy", "Tram", "Trailer", "Turismo", "Speeder", "Reefer", "Tropic", "Flatbed", "Yankee", "Caddy", "Solair", "Berkley's RC Van", "Skimmer", "PCJ-600", "Faggio", "Freeway", "RC Baron", "RC Raider", "Glendale", "Oceanic","Sanchez", "Sparrow", "Patriot", "Quad", "Coastguard", "Dinghy", "Hermes", "Sabre", "Rustler", "ZR-350", "Walton", "Regina", "Comet", "BMX", "Burrito", "Camper", "Marquis", "Baggage", "Dozer", "Maverick", "News Chopper", "Rancher", "FBI Rancher", "Virgo", "Greenwood", "Jetmax", "Hotring", "Sandking", "Blista Compact", "Police Maverick", "Boxvillde", "Benson", "Mesa", "RC Goblin", "Hotring Racer A", "Hotring Racer B", "Bloodring Banger", "Rancher", "Super GT", "Elegant", "Journey", "Bike", "Mountain Bike", "Beagle", "Cropduster", "Stunt", "Tanker", "Roadtrain", "Nebula", "Majestic", "Buccaneer", "Shamal", "Hydra", "FCR-900", "NRG-500", "HPV1000", "Cement Truck", "Tow Truck", "Fortune", };
Da meckert er in Zeile 84..
-
Öm ist die letzte Klammer also unter dem Shamal ich versteh nicht warum er da 2 errors für rauswirft...
-
Hier ein Problem bekomme den Fehler nicht raus...
Code
Alles anzeigennew dtcKaufliste[][dtcCarModell] = { //CARSYS //0 = 2 Räder {0,462,2000}, //Faggio {0,581,70000}, //BF-400 {0,521,80000}, //FCR-900 {0,463,60000}, //Freeway {0,461,90000}, //PCJ-600 {0,468,20000}, //Sanchez {0,586,20000}, //Wayfarer {0,471,30000}, //Quad {0,522,120000}, //NRG // 1 = Bugy {1,470,1}, // Buggy ^^ // 2 = BILLIG Autohaus {2,467,42000}, //Oceanic {2,536,50000}, //Blade {2,534,45000}, //Remigton {2,567,47000}, //Savanna {2,535,49000}, //Slamvan {2,412,50000}, //Voodo {2,421,40000}, // Washington {2,518,30000}, //Buccanee {2,542,23000}, //Clover {2,496,45000}, //Blistac {2,439,50000}, //Stallion {2,550,43000}, //Sunrise {2,540,47000}, //Vincent {2,404,32500}, //Peren {2,413,47000}, //Pony {2,458,45500}, //Solair {2,479,47500}, //Regina {2,440,49000}, //Rumpo {2,483,31000}, //Camper {2,500,34500}, //Mesa {2,508,80000}, //Journey {2,554,32000}, //Yosemite {2,561,36000}, //Startum {2,543,28000}, //Sadler {2,527,44000}, //Cadrona {2,526,180000}, //Fortune {2,400,100000}, //Landstal // LUXUS Base {3,587,700000}, //EUROS {3,426,575000}, //Premier {3,533,45000}, //Feltzer {3,579,430000}, //Huntley {3,507,565000}, //Elegant {3,602,545000}, //Alpha {3,545,495000}, //Hustler {3,409,1250000}, //Stretch {3,562,300000}, //Elegy {3,560,620000}, //Sultan {3,429,590000}, //Banshee {3,402,600000}, //Buffalo {3,541,940000}, //Bullet {3,415,920000}, //Cheetah {3,589,530000}, //Club {3,411,970000}, //Infernus {3,559,640000}, //Jester {3,603,720000}, //Phönix {3,506,870000}, //Supergt {3,451,890000}, //Turismo {3,558,720000}, //Uranus {3,480,690000}, //Comet {3,477,850000}, //Zr350 {3,565,620000}, //Flash //2 = LS AIRPORT (Flugzeuge Helikopter) {4,487,6000000}, //Maverick {4,469,2500000}, //Spearrow {4,511,5000000}, //Beagle {4,593,4500000}, //Dodo {4,513,10000000}, //StuntFlugzeug {4,519,18000000}, //Shamal }; //Die Errors: //C:\Users\User\Desktop\GVR\gamemodes\script.pwn(1232) : error 029: invalid expression, assumed zero //C:\Users\User\Desktop\GVR\gamemodes\script.pwn(1232) : error 008: must be a constant expression; assumed zero //C:\Users\User\Desktop\GVR\gamemodes\script.pwn(6257) : warning 225: unreachable code
Bitte um hilfe... LG JustMeAndMyLife