09.07.2013, 20:11
pawn Code:
format(query1, sizeof(query1), "UPDATE `"#MYSQL_ACCOUNT_TABLE5"` SET `Created` = %d, `Model` = %d, `XPos` = %.2f, `YPos` = %.2f, `ZPos` = %.2f,`APos` = %.2f, `Color1` = %d, \
`Color2` = %d, `Interior` = %d, `VirtualWorld` = %d,`NumberPlate` = '%s', `Value` = %d, `Lock` = %d, `Alarm` = %d, `Paintjob` = %d,`Fuel` = %f WHERE `Owner` = '%s'",
VehicleCreated[vehicleid],
VehicleModel[vehicleid],
VehiclePos[vehicleid][0],
VehiclePos[vehicleid][1],
VehiclePos[vehicleid][2],
VehiclePos[vehicleid][3],
VehicleColor[vehicleid][0],
VehicleColor[vehicleid][1],
VehicleInterior[vehicleid],
VehicleWorld[vehicleid],
VehicleNumberPlate[vehicleid],
VehicleValue[vehicleid],
VehicleLock[vehicleid],
VehicleAlarm[vehicleid],
VehiclePaintjob[vehicleid],
Fuel[vehicleid],
GetPlayeridName(playerid));