Hallo
Ich sollte nun ja eigentlich wissen, wie ich das Problem mit zuvielen Zeichen in einer Zeile umgehen kann, trotzdem schaff ich es irgendwie nicht
Entschuldige aber die Formatierung ist wortwörtlich Kacke xD
forward SaveMYSQLCarID(vehicleid);
public SaveMYSQLCarID(vehicleid)
{
format(query, sizeof(query),"UPDATE `Vehicles` SET `Locked` = '%d', `CarFraktion` = '%d' ,`CarJob` = '%d', `CarNoob` = '%d' ,`CarVerwahrt` = '%d', `CarTunebar` = '%d' , `CarX` = '%f' , `CarY` = '%f' , `CarZ` = '%f' , `CarA`= '%f' ,\
`AdacX` = '%f' , `AdacY` = '%f' , `AdacZ` = '%f' , `AdacA`= '%f' , `Color1` = '%d' , `Color2` = '%d' , `Price` = '%d' , `Owner` = '%s' , `PJ` = '%d' , `T0` = '%d' , `T1` = '%d' , `T2` = '%d' ,\
`T3` = '%d' , `T4` = '%d' , `T5` = '%d' , `T6` = '%d' , `T7` = '%d' , `T8` = '%d' , `T9` = '%d' , `T10` = '%d' ,\
`T11` = '%d' , `T12` = '%d' , `T13` = '%d' WHERE CarID = '%d';",
VehicleSystem[vehicleid][Locked],
VehicleSystem[vehicleid][Fraktion],
VehicleSystem[vehicleid][Beruf],
VehicleSystem[vehicleid][Noob],
VehicleSystem[vehicleid][Verwahrt],
VehicleSystem[vehicleid][Tunebar],
VehicleSystem[vehicleid][Carx],
VehicleSystem[vehicleid][Cary],
VehicleSystem[vehicleid][Carz],
VehicleSystem[vehicleid][Cara],
VehicleSystem[vehicleid][Adacx],
VehicleSystem[vehicleid][Adacy],
VehicleSystem[vehicleid][Adacz],
VehicleSystem[vehicleid][Adaca],
VehicleSystem[vehicleid][Color1],
VehicleSystem[vehicleid][Color2],
VehicleSystem[vehicleid][Price],
VehicleSystem[vehicleid][Owner],
VehicleSystem[vehicleid][Pb],
VehicleSystem[vehicleid][Tt0],
VehicleSystem[vehicleid][Tt1],
VehicleSystem[vehicleid][Tt2],
VehicleSystem[vehicleid][Tt3],
VehicleSystem[vehicleid][Tt4],
VehicleSystem[vehicleid][Tt5],
VehicleSystem[vehicleid][Tt6],
VehicleSystem[vehicleid][Tt7],
VehicleSystem[vehicleid][Tt8],
VehicleSystem[vehicleid][Tt9],
VehicleSystem[vehicleid][Tt10],
VehicleSystem[vehicleid][Tt11],
VehicleSystem[vehicleid][Tt12],
VehicleSystem[vehicleid][Tt13],
VehicleSystem[vehicleid][CarID]);
mysql_query(query);
return 1;
}
C:\Users\X\Desktop\dudalusv221.pwn(15333) : error 075: input line too long (after substitutions)
C:\Users\X\Desktop\dudalusv221.pwn(15334) : error 037: invalid string (possibly non-terminated string)
C:\Users\X\Desktop\dudalusv221.pwn(15334) : error 017: undefined symbol "UPDATE"
C:\Users\X\Desktop\dudalusv221.pwn(15334) : error 029: invalid expression, assumed zero
C:\Users\X\Desktop\dudalusv221.pwn(15334) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Reciht es nicht aus, nach einigen Zeichen ein Backslash zu machne ?
MfG dUDA