decorGetBool
DECOR_GET_BOOL0xDACE671663F2F5DBThe GTA V native DECOR_GET_BOOL of the DECORATOR namespace, as LS:MP client scripts call it: the global function decorGetBool, in JavaScript and in Lua.
decorGetBool(entity: Entity, propertyName: string): booleandecorGetBool(entity: Entity, propertyName: string): booleanUsage
JavaScript
const result = decorGetBool(entity, propertyName);Lua
local result = decorGetBool(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_GET_BOOL(Entity entity, const char* propertyName)- Hash
0xDACE671663F2F5DB