Game code
ENTITY::DOES_ENTITY_BELONG_TO_THIS_SCRIPT
0x341ECCCD9DD4E67F ·RVA 0x03C074B0
Signature
BOOL DOES_ENTITY_BELONG_TO_THIS_SCRIPT(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
BOOL
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- p1, in RDR3's signature, is not passed in GTA VI.
Call it
// ENTITY::DOES_ENTITY_BELONG_TO_THIS_SCRIPT
auto result = invoke<BOOL>(0x341ECCCD9DD4E67F, entity);// ENTITY::DOES_ENTITY_BELONG_TO_THIS_SCRIPT
bool result = Function.Call<bool>((Hash)0x341ECCCD9DD4E67F, entity);-- ENTITY::DOES_ENTITY_BELONG_TO_THIS_SCRIPT
local result = Citizen.InvokeNative(0x341ECCCD9DD4E67F, entity)// ENTITY::DOES_ENTITY_BELONG_TO_THIS_SCRIPT
const result = Citizen.invokeNative("0x341ECCCD9DD4E67F", 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.