SET_ENTITY_LOD_DIST
LOD distance can be 0 to 0xFFFF (higher values will result in 0xFFFF) as it is actually stored as a 16-bit value (aka uint16_t).
Hash
0x5FB407F0A7C877BFRuntime name
SetEntityLodDistNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x5927F96A78577363Signature
void SET_ENTITY_LOD_DIST(Entity entity, int value);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
value | int | — |
Returns void
Description
LOD distance can be 0 to 0xFFFF (higher values will result in 0xFFFF) as it is actually stored as a 16-bit value (aka uint16_t).
Usage
SetEntityLodDist(entity, value)
-- always works, by hash
Citizen.InvokeNative(0x5FB407F0A7C877BF, entity, value)JavaScript and C#
SetEntityLodDist(entity, value);
// by hash
Citizen.invokeNative('0x5FB407F0A7C877BF', entity, value);Function.Call((Hash)0x5FB407F0A7C877BF, entity, value);See also
GET_ENTITY_LOD_DISTReturns the LOD distance of an entity.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.