The Lab
DECORATOR native

_DECOR_REGISTER_NETWORKED

returns void3 paramsbuild 1207

Registers a decorator named propertyName of the given type, with isNetworked controlling whether its value is synced across the network.

Signature

C
void _DECOR_REGISTER_NETWORKED(const char* propertyName, int type, BOOL isNetworked); // 0x4587374F88B7F6C2 b1207

Parameters

#NameType
1propertyNameconst char*
2typeint
3isNetworkedBOOL

Facts

Facts about _DECOR_REGISTER_NETWORKED
Name
_DECOR_REGISTER_NETWORKED
Hash
0x4587374F88B7F6C2
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(0x4587374F88B7F6C2, -- _DECOR_REGISTER_NETWORKED
  "text", -- const char* propertyName
  0, -- int type
  false -- BOOL isNetworked
)
JavaScript
Citizen.invokeNative("0x4587374F88B7F6C2", // _DECOR_REGISTER_NETWORKED
  "text", // const char* propertyName
  0, // int type
  false // BOOL isNetworked
);
C#
Function.Call((Hash)0x4587374F88B7F6C2, // _DECOR_REGISTER_NETWORKED
  "text", // const char* propertyName
  0, // int type
  false // BOOL isNetworked
);
All DECORATOR natives

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