RDR3 match
DECORATOR::DECOR_EXIST_ON
0xCB9B2320262E3240 ·RVA 0x03CDA370
Signature
BOOL DECOR_EXIST_ON(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
BOOL
Call it
// DECORATOR::DECOR_EXIST_ON
auto result = invoke<BOOL>(0xCB9B2320262E3240, entity, propertyName);// DECORATOR::DECOR_EXIST_ON
bool result = Function.Call<bool>((Hash)0xCB9B2320262E3240, entity, propertyName);-- DECORATOR::DECOR_EXIST_ON
local result = Citizen.InvokeNative(0xCB9B2320262E3240, entity, propertyName)// DECORATOR::DECOR_EXIST_ON
const result = Citizen.invokeNative("0xCB9B2320262E3240", 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.