SET_BOAT_LOW_LOD_ANCHOR_DISTANCE
0xE842A9398079BD82
0x66FA450C
// SetBoatLowLodAnchorDistance
void SET_BOAT_LOW_LOD_ANCHOR_DISTANCE(Vehicle boat, float value);
Sets the distance from the player at which anchored boats switch between high and low LOD (Level of Detail) buoyancy mode.
NativeDB Introduced: v323
Old name: _SET_BOAT_ANCHOR_BUOYANCY_COEFFICIENT
Old name: _SET_BOAT_MOVEMENT_RESISTANCE
Examples:
local boat = GetVehiclePedIsIn(PlayerPedId(), false)
if not boat or not IsThisModelABoat(GetEntityModel(boat)) then return end
-- Set the low LOD anchor distance to 100 units
SetBoatLowLodAnchorDistance(boat, 100.0)
print("Set low LOD anchor distance to 100 units")