09.09.2013, 11:00
Quote:
[10:11:40] ProcessQueryThread(SendQuery) - Error will be triggered to OnQueryError().
|
pawn Код:
'%s'
pawn Код:
%s
pawn Код:
new query[300];
format(query, sizeof(query), "UPDATE `cars` SET `propietar` = %s, `model` = %d, `numar` = %s, `pret` = %d, `culoare1` = %d, `culoare2` = %d, `spawnx` = %f, `spawny` = %f, `spawnz` = %f, `spawna` = %f, `cumparata` = %d, `donata` = %d, `inchisa` = %d \
WHERE `id` = '%d'",
VehInfo[vehicleid][Propietar],
VehInfo[vehicleid][Model],
VehInfo[vehicleid][Numar],
VehInfo[vehicleid][Pret],
VehInfo[vehicleid][Culoare1],
VehInfo[vehicleid][Culoare2],
VehInfo[vehicleid][Spawnx],
VehInfo[vehicleid][Spawny],
VehInfo[vehicleid][Spawnz],
VehInfo[vehicleid][Spawna],
VehInfo[vehicleid][Cumparata],
VehInfo[vehicleid][Donata],
VehInfo[vehicleid][Lock],
VehInfo[vehicleid][ID]);
print(query); // Let's see what it prints.
show us the results.