The Lab
ENTITY native

SET_ENTITY_LOD_DIST

returns void2 paramsbuild 1207

Sets the LOD distance of the entity.

Signature

C
void SET_ENTITY_LOD_DIST(Entity entity, int value); // 0x5FB407F0A7C877BF b1207

Parameters

#NameType
1entityEntity
2valueint

Facts

Facts about SET_ENTITY_LOD_DIST
Name
SET_ENTITY_LOD_DIST
Hash
0x5FB407F0A7C877BF
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x5FB407F0A7C877BF, -- SET_ENTITY_LOD_DIST
  PlayerPedId(), -- Entity entity
  0 -- int value
)
JavaScript
Citizen.invokeNative("0x5FB407F0A7C877BF", // SET_ENTITY_LOD_DIST
  PlayerPedId(), // Entity entity
  0 // int value
);
C#
Function.Call((Hash)0x5FB407F0A7C877BF, // SET_ENTITY_LOD_DIST
  API.PlayerPedId(), // Entity entity
  0 // int value
);
All ENTITY natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.