This commit is contained in:
Vortrex
2023-02-15 21:56:38 -06:00
parent ae96568c0a
commit 3ab59fa3f8

View File

@@ -1588,17 +1588,6 @@ function isVehicleOwnedByJob(vehicle, jobId) {
// =========================================================================== // ===========================================================================
async function getPlayerNewVehicle(client) {
while (true) {
if (isPlayerInAnyVehicle(client)) {
return getPlayerVehicle(client);
}
await null;
}
}
// ===========================================================================
function createNewDealershipVehicle(modelIndex, spawnPosition, spawnRotation, price, dealershipId, interior = 0, dimension = 0) { function createNewDealershipVehicle(modelIndex, spawnPosition, spawnRotation, price, dealershipId, interior = 0, dimension = 0) {
let vehicle = createGameVehicle(modelIndex, spawnPosition, spawnRotation); let vehicle = createGameVehicle(modelIndex, spawnPosition, spawnRotation);
if (!vehicle) { if (!vehicle) {