DECOR_REMOVE
Removes the decorator propertyName from entity, returning true on success.
Signature
BOOL DECOR_REMOVE(Entity entity, const char* propertyName); // 0x2BA7F5877A088A1D b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
| 2 | propertyName | const char* |
Facts
| Name | DECOR_REMOVE |
|---|---|
| Hash | 0x2BA7F5877A088A1D |
| 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(0x2BA7F5877A088A1D, -- DECOR_REMOVE
PlayerPedId(), -- Entity entity
"text" -- const char* propertyName
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x2BA7F5877A088A1D", // DECOR_REMOVE
PlayerPedId(), // Entity entity
"text", // const char* propertyName
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x2BA7F5877A088A1D, // DECOR_REMOVE
API.PlayerPedId(), // Entity entity
"text" // const char* propertyName
);Related DECORATOR natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.