_DECOR_REGISTER_NETWORKED
Registers a decorator named propertyName of the given type, with isNetworked controlling whether its value is synced across the network.
Signature
void _DECOR_REGISTER_NETWORKED(const char* propertyName, int type, BOOL isNetworked); // 0x4587374F88B7F6C2 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | propertyName | const char* |
| 2 | type | int |
| 3 | isNetworked | BOOL |
Facts
| 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.
Citizen.InvokeNative(0x4587374F88B7F6C2, -- _DECOR_REGISTER_NETWORKED
"text", -- const char* propertyName
0, -- int type
false -- BOOL isNetworked
)Citizen.invokeNative("0x4587374F88B7F6C2", // _DECOR_REGISTER_NETWORKED
"text", // const char* propertyName
0, // int type
false // BOOL isNetworked
);Function.Call((Hash)0x4587374F88B7F6C2, // _DECOR_REGISTER_NETWORKED
"text", // const char* propertyName
0, // int type
false // BOOL isNetworked
);Related DECORATOR natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.