Fix custom fade camera

This commit is contained in:
Vortrex
2023-02-15 03:16:43 -06:00
parent f23a98f182
commit 736857e120
2 changed files with 16 additions and 2 deletions

View File

@@ -1925,4 +1925,13 @@ function isPlayerInVehicleDriverSeat(client) {
return false;
}
// ===========================================================================
function despawnAllVehicles() {
for (let i in getServerData().vehicles) {
destroyGameElement(getServerData().vehicles[i].vehicle);
getServerData().vehicles[i].vehicle = null;
}
}
// ===========================================================================