RDR3 match
ENTITY::SCRIPT_OVERRIDE_ENTITY_LOOT_TABLE_PERMANENT
0xA1F17A1773FC3294 ·RVA 0x03C12190
Signature
BOOL SCRIPT_OVERRIDE_ENTITY_LOOT_TABLE_PERMANENT(
Entity entity,
Hash lootTable
);
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 | Hash | lootTable |
– |
Returns
BOOL
the game returns one byte.
Call it
// ENTITY::SCRIPT_OVERRIDE_ENTITY_LOOT_TABLE_PERMANENT
auto result = invoke<BOOL>(0xA1F17A1773FC3294, entity, lootTable);// ENTITY::SCRIPT_OVERRIDE_ENTITY_LOOT_TABLE_PERMANENT
bool result = Function.Call<bool>((Hash)0xA1F17A1773FC3294, entity, lootTable);-- ENTITY::SCRIPT_OVERRIDE_ENTITY_LOOT_TABLE_PERMANENT
local result = Citizen.InvokeNative(0xA1F17A1773FC3294, entity, lootTable)// ENTITY::SCRIPT_OVERRIDE_ENTITY_LOOT_TABLE_PERMANENT
const result = Citizen.invokeNative("0xA1F17A1773FC3294", entity, lootTable);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.