RDR3 match
ENTITY::IS_ENTITY_TOUCHING_MODEL
0x21468974D51C1437 ·RVA 0x03C0E610
Signature
BOOL IS_ENTITY_TOUCHING_MODEL(Entity entity, Hash64 modelHash);
The scripts pass 3 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Entity | entity |
– |
| 1 | Hash64 | modelHash |
RDR3 takes a Hash; GTA VI passes a 64-bit hash (the game reads 64 bits, and the scripts pass a value, not an address). |
Returns
BOOL
Call it
// ENTITY::IS_ENTITY_TOUCHING_MODEL
auto result = invoke<BOOL>(0x21468974D51C1437, entity, modelHash);// ENTITY::IS_ENTITY_TOUCHING_MODEL
bool result = Function.Call<bool>((Hash)0x21468974D51C1437, entity, modelHash);-- ENTITY::IS_ENTITY_TOUCHING_MODEL
local result = Citizen.InvokeNative(0x21468974D51C1437, entity, modelHash)// ENTITY::IS_ENTITY_TOUCHING_MODEL
const result = Citizen.invokeNative("0x21468974D51C1437", entity, modelHash);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.