RDR3 match
DECORATOR::DECOR_SET_INT
0xAD59F6F01770B280 ·RVA 0x03CDA220
Signature
BOOL DECOR_SET_INT(Entity entity, Hash propertyName, int value);
The scripts pass 4 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).
Parameters 3
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Entity | entity |
– |
| 1 | Hash | propertyName |
RDR3 takes a string; GTA VI passes its hash. |
| 2 | int | value |
– |
Returns
BOOL
Call it
// DECORATOR::DECOR_SET_INT
auto result = invoke<BOOL>(0xAD59F6F01770B280, entity, propertyName, value);// DECORATOR::DECOR_SET_INT
bool result = Function.Call<bool>((Hash)0xAD59F6F01770B280, entity, propertyName, value);-- DECORATOR::DECOR_SET_INT
local result = Citizen.InvokeNative(0xAD59F6F01770B280, entity, propertyName, value)// DECORATOR::DECOR_SET_INT
const result = Citizen.invokeNative("0xAD59F6F01770B280", entity, propertyName, value);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.