Merge branch 'gtaiv' into nightly

This commit is contained in:
Vortrex
2022-03-09 05:18:24 -06:00
28 changed files with 531 additions and 327 deletions

View File

@@ -683,9 +683,11 @@ function processLocalPlayerVehicleEntryExitHandling() {
// ===========================================================================
function getVehicleForNetworkEvent(vehicleArg) {
// Soon this will also be used to get the IV vehicle via it's ID
return vehicleArg;
function getVehicleForNetworkEvent(vehicle) {
if(getGame() == VRR_GAME_GTA_IV) {
return natives.getNetworkIdFromVehicle(vehicle);
}
return vehicle;
}
// ===========================================================================