decorRemove

DECOR_REMOVE0x00EE9F297C738720

The GTA V native DECOR_REMOVE of the DECORATOR namespace, as LS:MP client scripts call it: the global function decorRemove, in JavaScript and in Lua.

SignatureJavaScript
decorRemove(entity: Entity, propertyName: string): boolean
SignatureLua
decorRemove(entity: Entity, propertyName: string): boolean

Usage

JavaScript
const result = decorRemove(entity, propertyName);
Lua
local result = decorRemove(entity, propertyName)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger
propertyNamestringstringstring

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Decorators DECORATOR
In the game
BOOL DECOR_REMOVE(Entity entity, const char* propertyName)
Hash
0x00EE9F297C738720

Open in the interactive natives reference