Closed
Hallo Liebes Breadfish
so wie es in den Titel steht habe ich 5 Error und bekomme die nicht weg.
Hier die Error
CSS: 5 error
C:\Users\Paddy\Desktop\Live you Life\gamemodes\LyL.pwn(79868) : error 075: input line too long (after substitutions)
C:\Users\Paddy\Desktop\Live you Life\gamemodes\LyL.pwn(79869) : error 037: invalid string (possibly non-terminated string)
C:\Users\Paddy\Desktop\Live you Life\gamemodes\LyL.pwn(79869) : error 017: undefined symbol "UPDATE"
C:\Users\Paddy\Desktop\Live you Life\gamemodes\LyL.pwn(79869) : error 029: invalid expression, assumed zero
C:\Users\Paddy\Desktop\Live you Life\gamemodes\LyL.pwn(79869) : fatal error 107: too many error messages on one line
und hier die zeile
Code
, `fFaction2`='%d', `fFaction3`='%d', `fFaction4`='%d', `fFaction5`='%d', `fSpoiler`='%d', `fHood`='%d', `fRoof`='%d', `fSideskirt`='%s', `fLamps`='%d', `fNitro`='%d' \
, `fExhaust`='%d', `fWheel`='%d', `fStereo`='%d', `fHydraulics`='%d', `fFrontBumper`='%d', `fVent1`='%d', `fRearBumper`='%d', `fVent2`='%s', `fPaintjob`='%d', `fPrice`='%d' \
und hier der ganze code
CSS
forward SaveAllFracVehs();
public SaveAllFracVehs()
{
//Deklaration neuer temporärer Variablen:
new query[2048];
//Schleife durch alle Fraktions-Fahrzeuge
for(new i=0; i<MAX_FRAC_VEHICLES; i++)
{
//Wenn das Fahrzeug existiert
if(FactionCars[i][fVehid] >= 400 && FactionCars[i][fVehid] <= 611)
{
//Wir fragen die Position des Fahrzeugs ab:
GetVehiclePos(FactionCars[i][fCarid], FactionCars[i][fPos][0], FactionCars[i][fPos][1], FactionCars[i][fPos][2]);
GetVehicleZAngle(FactionCars[i][fCarid], FactionCars[i][fPos][3]);
//Und wir erstellen das Query:
format(query, sizeof(query), "UPDATE `FracVehicles` SET `fVehid`='%s', `fPosX`='%f', `fPosY`='%f', `fPosZ`='%f', `fPosA`='%f', `fCol1`='%d', `fCol2`='%d', `fFaction1`='%d' \
, `fFaction2`='%d', `fFaction3`='%d', `fFaction4`='%d', `fFaction5`='%d', `fSpoiler`='%d', `fHood`='%d', `fRoof`='%d', `fSideskirt`='%s', `fLamps`='%d', `fNitro`='%d' \
, `fExhaust`='%d', `fWheel`='%d', `fStereo`='%d', `fHydraulics`='%d', `fFrontBumper`='%d', `fVent1`='%d', `fRearBumper`='%d', `fVent2`='%s', `fPaintjob`='%d', `fPrice`='%d' \
, `fTankart`='%d', `fGesperrt`='%d', `fMotorschaden`='%d', `fSperrpreis`='%d', `fFrontBumper`='%d', `fVent1`='%d', `fRearBumper`='%d', `fVent2`='%s', `fPaintjob`='%d', `fPrice`='%d' \
WHERE `id` = '%d'",
FactionCars[i][fVehid], FactionCars[i][fPos][0], FactionCars[i][fPos][1], FactionCars[i][fPos][2], FactionCars[i][fPos][3], FactionCars[i][fCol][0], FactionCars[i][fCol][1],
FactionCars[i][fFaction][0], FactionCars[i][fFaction][1], FactionCars[i][fFaction][2], FactionCars[i][fFaction][3], FactionCars[i][fFaction][4], FactionCars[i][fTuning][0],
FactionCars[i][fTuning][1], FactionCars[i][fTuning][2], FactionCars[i][fTuning][3], FactionCars[i][fTuning][4], FactionCars[i][fTuning][5], FactionCars[i][fTuning][6],
FactionCars[i][fTuning][7], FactionCars[i][fTuning][8], FactionCars[i][fTuning][9], FactionCars[i][fTuning][10], FactionCars[i][fTuning][11], FactionCars[i][fTuning][12],
FactionCars[i][fTuning][13], FactionCars[i][fTuning][14], FactionCars[i][fPrice], FactionCars[i][fTankart], FactionCars[i][fGesperrt], FactionCars[i][fMotorschaden],
FactionCars[i][fSperrpreis], i);
//handle = die Connection Handle ID die vor mysql_connect steht.
mysql_tquery(handle, query);
}
}
return 1;
}
Alles anzeigen
danke für das helfen
euer
RedDragon28080