Game code
ENTITY::GET_ENTITY_MODEL
0x6DEF2C9A2589560C ·RVA 0x03C0A460
Signature
Hash64 GET_ENTITY_MODEL(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
Hash64
RDR3 says Hash; the game writes a Hash64.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
Call it
// ENTITY::GET_ENTITY_MODEL
auto result = invoke<Hash64>(0x6DEF2C9A2589560C, entity);// ENTITY::GET_ENTITY_MODEL
ulong result = Function.Call<ulong>((Hash)0x6DEF2C9A2589560C, entity);-- ENTITY::GET_ENTITY_MODEL
local result = Citizen.InvokeNative(0x6DEF2C9A2589560C, entity)// ENTITY::GET_ENTITY_MODEL
const result = Citizen.invokeNative("0x6DEF2C9A2589560C", 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.