The Lab
DECORATOR native

DECOR_REGISTER

returns void2 paramsbuild 1207

Registers a decorator named propertyName with the value type so it can later be set on entities.

Decorators must be registered before they are set or read.

Signature

C
void DECOR_REGISTER(const char* propertyName, int type); // 0x0B253D644E3C36B3 b1207

Parameters

#NameType
1propertyNameconst char*
2typeint

Facts

Facts about DECOR_REGISTER
Name
DECOR_REGISTER
Hash
0x0B253D644E3C36B3
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x0B253D644E3C36B3, -- DECOR_REGISTER
  "text", -- const char* propertyName
  0 -- int type
)
JavaScript
Citizen.invokeNative("0x0B253D644E3C36B3", // DECOR_REGISTER
  "text", // const char* propertyName
  0 // int type
);
C#
Function.Call((Hash)0x0B253D644E3C36B3, // DECOR_REGISTER
  "text", // const char* propertyName
  0 // int type
);
All DECORATOR natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.