mysql_format(handle, string, sizeof(string), "UPDATE Privatcar SET Fx = '%f', Fy = '%f', Fz = '%f', Fr = '%f', Color1 = '%d', Color2 = '%d', Kilometer = '%d',", pCar[i][pc_x], pCar[i][pc_y], pCar[i][pc_z], pCar[i][pc_r], pCar[i][pc_color1], pCar[i][pc_color2], pCar[i][pc_kilometer]);
mysql_format(handle, string, sizeof(string), "%s Spoiler = '%d', Hood = '%d', Roof = '%d', Sideskirt = '%d', Lamps = '%d', Nitro = '%d', Exhaust = '%d',", string, pCar[i][pc_Spoiler], pCar[i][pc_Hood], pCar[i][pc_Roof], pCar[i][pc_Sideskirt], pCar[i][pc_Lamps], pCar[i][pc_Nitro], pCar[i][pc_Exhaust]);
mysql_format(handle, string, sizeof(string), "%s Wheels = '%d', Stereo = '%d', Hydraulics = '%d', Frontb = '%d', Rearb = '%d', Ventr = '%d', Ventl = '%d' ", string, pCar[i][pc_Wheels], pCar[i][pc_Stereo], pCar[i][pc_Hydraulics], pCar[i][pc_Frontb], pCar[i][pc_Rearb], pCar[i][pc_Ventr], pCar[i][pc_Ventl]);
mysql_format(handle, string, sizeof(string), "%s Tank = '%f', Kraftstoffart = '%d' WHERE `ID` = '%d' ",string,pCar[i][pc_Tank], pCar[i][pc_Kraftstoffart], pCar[i][pc_dbid]);
mysql_pquery(handle, string)
Mit Handy geantwortet.