format(query,sizeof(query), "INSERT INTO `Vehiclekeys` (ID,Vehicle,Linked,Type) VALUES '%d','%d','%s','%d')",i,
format(query,sizeof(query), "INSERT INTO `Vehicles` (ID,VehicleID,ModelID,PositionX,PositionY,PositionZ,AngleZ,Color1,Color2,Plate) VALUES('%d','%d','%d', '%f','%f','%f','%f','%d','%d','%s')",i,car,model,x,y,z,a,c1,c2,DEFAULT_PLATE);
mysql_query(query);