RedM Natives

_SET_VEHICLE_LOD_LEVEL

Ranges from -1 to 2? (internal type is int8)

Hash0x3FA7D7D1E0EA809E
Runtime nameSetVehicleLodLevel
NamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_VEHICLE_LOD_LEVEL(Vehicle vehicle, int lodLevel);

Parameters

NameTypeDescription
vehicleVehicle—
lodLevelint—

Returns void

Description

Ranges from -1 to 2? (internal type is int8)
https://imgur.com/a/bPzHcft

Usage

Lua
SetVehicleLodLevel(vehicle, lodLevel)

-- always works, by hash
Citizen.InvokeNative(0x3FA7D7D1E0EA809E, vehicle, lodLevel)
JavaScript and C#
JavaScript
SetVehicleLodLevel(vehicle, lodLevel);

// by hash
Citizen.invokeNative('0x3FA7D7D1E0EA809E', vehicle, lodLevel);
C#
Function.Call((Hash)0x3FA7D7D1E0EA809E, vehicle, lodLevel);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.