RDR3 match
DECORATOR::DECOR_GET_INT
0x889D0264BB249D8D ·RVA 0x03CDA430
Signature
int DECOR_GET_INT(Entity entity, Hash propertyName);
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 | propertyName |
RDR3 takes a string; GTA VI passes its hash. |
Returns
int
Call it
// DECORATOR::DECOR_GET_INT
auto result = invoke<int>(0x889D0264BB249D8D, entity, propertyName);// DECORATOR::DECOR_GET_INT
int result = Function.Call<int>((Hash)0x889D0264BB249D8D, entity, propertyName);-- DECORATOR::DECOR_GET_INT
local result = Citizen.InvokeNative(0x889D0264BB249D8D, entity, propertyName)// DECORATOR::DECOR_GET_INT
const result = Citizen.invokeNative("0x889D0264BB249D8D", entity, propertyName);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.