RedM Natives

DECOR_REMOVE

Hash0x2BA7F5877A088A1D
Runtime nameDecorRemove
NamespaceDECORATOR
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x00EE9F297C738720

Signature

BOOL DECOR_REMOVE(Entity entity, const char* propertyName);

Parameters

NameTypeDescription
entityEntity—
propertyNameconst char*—

Returns BOOL

Usage

Lua
local retval = DecorRemove(entity, propertyName)

-- always works, by hash
local retval = Citizen.InvokeNative(0x2BA7F5877A088A1D, entity, propertyName, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = DecorRemove(entity, propertyName);

// by hash
const retval = Citizen.invokeNative('0x2BA7F5877A088A1D', entity, propertyName, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x2BA7F5877A088A1D, entity, propertyName);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.