Native referenceRedM

DECOR_SET_BOOL

0xFE26E4609B1C3772 DECORATOR
FUNCTION SIGNATURE
BOOL DECOR_SET_BOOL(`entity` (Entity), `propertyName` (const char*), `value` (BOOL));

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)

Back to DECORATOR