for(new vehid; vehid <= MAX_VEHICLES; vehid++) {//SELECT `X, Y, Z` FROM `vehicles` WHERE `vehicleid' = vehid or whatever//Then use X, Y, Z to spawn the car}