MySQL Vehicle Saving Issue
#8

You have vehicleid defined in that context, so why do you need a function to get the vehicleid? Just put vehicleid in as the last argument in the format? For example:

pawn Код:
format(queue, sizeof(queue), "UPDATE `Vehicles` SET VehicleOwner= '%s', Model= '%d' VehPosX= '%f', VehPosY= '%f', VehPosZ= '%f', VehRot= '%f', WHERE ID= '%d'", PlayerName(playerid), TheModelID, vehx, vehy, vehz, angle, vehicleid);
Reply


Messages In This Thread
MySQL Vehicle Saving Issue - by Unknown123 - 03.03.2011, 20:34
Re: MySQL Vehicle Saving Issue - by JaTochNietDan - 03.03.2011, 20:50
Re: MySQL Vehicle Saving Issue - by Unknown123 - 03.03.2011, 20:58
Re: MySQL Vehicle Saving Issue - by JaTochNietDan - 03.03.2011, 21:07
Re: MySQL Vehicle Saving Issue - by Unknown123 - 03.03.2011, 21:14
Re: MySQL Vehicle Saving Issue - by JaTochNietDan - 03.03.2011, 21:18
Re: MySQL Vehicle Saving Issue - by Unknown123 - 03.03.2011, 21:21
Re: MySQL Vehicle Saving Issue - by JaTochNietDan - 03.03.2011, 21:30
Re: MySQL Vehicle Saving Issue - by Unknown123 - 03.03.2011, 21:33

Forum Jump:


Users browsing this thread: 2 Guest(s)