Hello, Guest

By registering with us, you'll be able to discuss, share and private message with other members of our community.
What's new

Fixing Rage:MP Missing (Transparent) Planes

Alexalsaud

Administrative
Staff member
Admin
Joined
Aug 5, 2024
Messages
337
ICoins
1,501
If you are reading this topic, you have probably encountered a common problem (feature :roflanebalo:)), when under certain circumstances the plane disappears visually, or becomes translucent.

At the moment, the most obvious solution is to force the lod distance for this vehicle using method.
Here's an example of how to use it:

JavaScript:
const lodDist = 500;

// можно заменить на forEachInStreamRange, если нужно отображать всех в стриме
mp.vehicles.forEachInRange(mp.players.local.position, lodDist, vehicle => {
if (!mp.vehicles.exists(vehicle)) return;

const name = String(mp.game.vehicle.getDisplayNameFromVehicleModel(vehicle.model)).toLowerCase();
if (!["titan", "lazer", "besra"].includes(name)) return;

vehicle.setLodDist(lodDist);
});
 
Back
Top