RedM Natives

_DECOR_REGISTER_NETWORKED

Old Name: _DECOR_REGISTER_2

Hash0x4587374F88B7F6C2
Runtime nameDecorRegisterNetworked
NamespaceDECORATOR
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _DECOR_REGISTER_NETWORKED(const char* propertyName, int type, BOOL isNetworked);

Parameters

NameTypeDescription
propertyNameconst char*—
typeint—
isNetworkedBOOL—

Returns void

Description

alloc8or RDR3 NativeDB

type: see DECOR_REGISTER

VORPCORE RDR3natives

Old Name: _DECOR_REGISTER_2

Usage

Lua
DecorRegisterNetworked(propertyName, type, isNetworked)

-- always works, by hash
Citizen.InvokeNative(0x4587374F88B7F6C2, propertyName, type, isNetworked)
JavaScript and C#
JavaScript
DecorRegisterNetworked(propertyName, type, isNetworked);

// by hash
Citizen.invokeNative('0x4587374F88B7F6C2', propertyName, type, isNetworked);
C#
Function.Call((Hash)0x4587374F88B7F6C2, propertyName, type, isNetworked);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.