The Lab
DECORATOR native

DECOR_REMOVE

returns BOOL2 paramsbuild 1207

Removes the decorator propertyName from entity, returning true on success.

Signature

C
BOOL DECOR_REMOVE(Entity entity, const char* propertyName); // 0x2BA7F5877A088A1D b1207

Parameters

#NameType
1entityEntity
2propertyNameconst char*

Facts

Facts about DECOR_REMOVE
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.

Lua
local result = Citizen.InvokeNative(0x2BA7F5877A088A1D, -- DECOR_REMOVE
  PlayerPedId(), -- Entity entity
  "text" -- const char* propertyName
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x2BA7F5877A088A1D", // DECOR_REMOVE
  PlayerPedId(), // Entity entity
  "text", // const char* propertyName
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x2BA7F5877A088A1D, // DECOR_REMOVE
  API.PlayerPedId(), // Entity entity
  "text" // const char* propertyName
);
All DECORATOR natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.