Description: Returns whether or not the specified property is set for the entity.
| Property | Value |
|---|---|
| Native Name | DECOR_EXIST_ON |
| Hash | 0xD9D1CDBF3464DCDF |
| Return Type | BOOL |
| Build | 1207 |
| Parameters | entity (Entity), propertyName (const char*) |
Parameters
entity(Entity)propertyName(const char*)
Usage
Lua (Direct):
local result = DecorExistOn(entity, propertyName)
Lua (Hash):
local result = Citizen.InvokeNative(0xD9D1CDBF3464DCDF, entity, propertyName)