decorRemove
DECOR_REMOVE0x00EE9F297C738720The 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.
decorRemove(entity: Entity, propertyName: string): booleandecorRemove(entity: Entity, propertyName: string): booleanUsage
JavaScript
const result = decorRemove(entity, propertyName);Lua
local result = decorRemove(entity, propertyName)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
propertyName | string | string | string |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Decorators DECORATOR
- In the game
BOOL DECOR_REMOVE(Entity entity, const char* propertyName)- Hash
0x00EE9F297C738720