Description: This function sets metadata of type bool to specified entity.
| Property | Value |
|---|---|
| Native Name | DECOR_SET_BOOL |
| Hash | 0xFE26E4609B1C3772 |
| Return Type | BOOL |
| Build | 1207 |
| Parameters | entity (Entity), propertyName (const char*), value (BOOL) |
Parameters
entity(Entity)propertyName(const char*)value(BOOL)
Usage
Lua (Direct):
local result = DecorSetBool(entity, propertyName, value)
Lua (Hash):
local result = Citizen.InvokeNative(0xFE26E4609B1C3772, entity, propertyName, value)