Add net event veh util
This commit is contained in:
@@ -683,9 +683,11 @@ function processLocalPlayerVehicleEntryExitHandling() {
|
|||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
function getVehicleForNetworkEvent(vehicleArg) {
|
function getVehicleForNetworkEvent(vehicle) {
|
||||||
// Soon this will also be used to get the IV vehicle via it's ID
|
if(getGame() == VRR_GAME_GTA_IV) {
|
||||||
return vehicleArg;
|
return natives.getNetworkIdFromVehicle(vehicle);
|
||||||
|
}
|
||||||
|
return vehicle;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user