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