RDR3 match
ENTITY::GET_ENTITY_LOD_DIST
0xD56B797C20DBF2F3 ·RVA 0x03C0A310
Signature
int GET_ENTITY_LOD_DIST(Entity entity);
The scripts pass 2 values to this native; the decoded signature lists 1 (arguments the game doesn't read are left out).
Parameters 1
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Entity | entity |
– |
Returns
int
Call it
// ENTITY::GET_ENTITY_LOD_DIST
auto result = invoke<int>(0xD56B797C20DBF2F3, entity);// ENTITY::GET_ENTITY_LOD_DIST
int result = Function.Call<int>((Hash)0xD56B797C20DBF2F3, entity);-- ENTITY::GET_ENTITY_LOD_DIST
local result = Citizen.InvokeNative(0xD56B797C20DBF2F3, entity)// ENTITY::GET_ENTITY_LOD_DIST
const result = Citizen.invokeNative("0xD56B797C20DBF2F3", entity);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.