- Thread Author
- #1
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
Here's an example of how to use it:
At the moment, the most obvious solution is to force the lod distance for this vehicle using
You must be registered for see links
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);
});