help mee!!
#1

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);

Reply
#2

VehicleInfo[vehicleid][vvid] should be the SQL ID.
Reply
#3

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
VehicleInfo[vehicleid][vvid] should be the SQL ID.

and as you do you explain me please do not understand

Vehicle Info [vehicleid] [vvid] load perfectly
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)