25.07.2012, 12:58
Hi.
I have problem.
I make vehicle mod save (17 tabels).
Updating the tables looks like:
And i get this error:
RSA.pwn(3299) : error 075: input line too long (after substitutions)
Line 3299 is:
I have problem.
I make vehicle mod save (17 tabels).
Updating the tables looks like:
PHP код:
stock ZapiszTuning(VehicleId)
{
format(Query, sizeof(Query), "UPDATE `Pojazdy` SET `Tuning1` = '%d', `Tuning2` = '%d', `Tuning3` = '%d', `Tuning4` = '%d', `Tuning5` = '%d', `Tuning6` = '%d', `Tuning7` = '%d', \
`Tuning8` = '%d', `Tuning9` = '%d', `Tuning10` = '%d' , `Tuning11` = '%d', `Tuning12` = '%d', `Tuning13` = '%d', `Tuning14` = '%d', `Tuning15` = '%d', `Tuning16` = '%d', \
`Tuning17` = '%d' WHERE `IdAuta` = '%d'", Pojazd[VehicleId][Tuning1], Pojazd[VehicleId][Tuning2], Pojazd[VehicleId][Tuning3], Pojazd[VehicleId][Tuning4], \
Pojazd[VehicleId][Tuning5], Pojazd[VehicleId][Tuning6], Pojazd[VehicleId][Tuning7], Pojazd[VehicleId][Tuning8], Pojazd[VehicleId][Tuning9], Pojazd[VehicleId][Tuning10], \
Pojazd[VehicleId][Tuning11], Pojazd[VehicleId][Tuning12], Pojazd[VehicleId][Tuning13], Pojazd[VehicleId][Tuning14], Pojazd[VehicleId][Tuning15], \
Pojazd[VehicleId][Tuning14], Pojazd[VehicleId][Tuning17], Pojazd[VehicleId][idAuta]
);
mysql_query(Query);
}
RSA.pwn(3299) : error 075: input line too long (after substitutions)
Line 3299 is:
PHP код:
`Tuning17` = '%d' WHERE `IdAuta` = '%d'", Pojazd[VehicleId][Tuning1], Pojazd[VehicleId][Tuning2], Pojazd[VehicleId][Tuning3], Pojazd[VehicleId][Tuning4], \