SA-MP Forums Archive
car save - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: car save (/showthread.php?tid=619329)



car save - Capotte - 16.10.2016

hello again sorry for my bad English but I'm doing the auto save system but the error is that the car I keep the id 2 id 1 in

Quote:

new vehicleid = GetPlayerVehicleID(playerid);
new query[400];
format(query, 400, "UPDATE `autos` SET `posx`= %f,`posy`= %f,`posz`= %f,`vangle`= %f WHERE `vid` ='%d'", p[0], p[1], p[2], p[3], VehicleInfo[vehicleid][vvid]);
mysql_function_query(TuberiasMySQL, query, true, "OnQueryFinish", "ii", 0, playerid);




Re: car save - Capotte - 17.10.2016

nobody