DECOR_SET_INT
Sets the decorator propertyName on entity to the integer value, returning true on success.
Signature
BOOL DECOR_SET_INT(Entity entity, const char* propertyName, int value); // 0xE88F4D7F52A6090F b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
| 2 | propertyName | const char* |
| 3 | value | int |
Facts
| Name | DECOR_SET_INT |
|---|---|
| Hash | 0xE88F4D7F52A6090F |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xE88F4D7F52A6090F, -- DECOR_SET_INT
PlayerPedId(), -- Entity entity
"text", -- const char* propertyName
0 -- int value
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xE88F4D7F52A6090F", // DECOR_SET_INT
PlayerPedId(), // Entity entity
"text", // const char* propertyName
0, // int value
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xE88F4D7F52A6090F, // DECOR_SET_INT
API.PlayerPedId(), // Entity entity
"text", // const char* propertyName
0 // int value
);Related DECORATOR natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.