28.06.2012, 07:58
Any reason that this Query isn't submitting?
Should store the ID, the VehicleID and if the car is Linked
In the table 'VehicleKeys' there are 3 rows
-ID
-VehicleID
-Linked
The query Right above it that stores the vehicles in the 'Vehicle' table stores fine.
pawn Код:
// Should store the ID, the VehicleID and if the car is Linked
format(query,sizeof(query), "INSERT INTO `VehicleKeys` (ID,VehicleID,Linked) VALUES('%d','%d','%s','%d')",i,car,playerid);
mysql_query(query);
In the table 'VehicleKeys' there are 3 rows
-ID
-VehicleID
-Linked
The query Right above it that stores the vehicles in the 'Vehicle' table stores fine.