NETWORK_SET_RICH_PRESENCE
Sets the platform rich presence status of the local player.
Signature
void NETWORK_SET_RICH_PRESENCE(int p0, Any* p1, int p2, int p3); // 0x1DCCACDCFC569362 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | int |
| 2 | p1 | Any* (out pointer) |
| 3 | p2 | int |
| 4 | p3 | int |
Facts
| Name | NETWORK_SET_RICH_PRESENCE |
|---|---|
| Hash | 0x1DCCACDCFC569362 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local p1 = Citizen.InvokeNative(0x1DCCACDCFC569362, -- NETWORK_SET_RICH_PRESENCE
0, -- int p0
Citizen.PointerValueInt(), -- Any* p1
0, -- int p2
0 -- int p3
)
print(p1)const p1 = Citizen.invokeNative("0x1DCCACDCFC569362", // NETWORK_SET_RICH_PRESENCE
0, // int p0
Citizen.pointerValueInt(), // Any* p1
0, // int p2
0 // int p3
);
console.log(p1)var p1Arg = new OutputArgument();
Function.Call((Hash)0x1DCCACDCFC569362, // NETWORK_SET_RICH_PRESENCE
0, // int p0
p1Arg, // Any* p1
0, // int p2
0 // int p3
);
int p1 = p1Arg.GetResult<int>();Related NETWORK natives
- NETWORK_SET_THIS_SCRIPT_IS_NETWORK_SCRIPT
- NETWORK_SET_RECENT_GAMERS_ENABLED
- NETWORK_SET_COMPLETED_MP_INTRO_FLOW_ON_CURRENT_SLOT
- NETWORK_SET_ENTITY_ONLY_EXISTS_FOR_PARTICIPANTS
- NETWORK_SET_ENTITY_REMAINS_WHEN_UNNETWORKED
- NETWORK_SET_FRIENDLY_FIRE_OPTION
- NETWORK_SET_IN_MP_CUTSCENE
- NETWORK_SET_IN_SPECTATOR_MODE
- NETWORK_SET_LOCAL_PLAYER_INVINCIBLE_TIME
- NETWORK_SET_LOCAL_PLAYER_PENDING_FAST_INSTANCE_ID
- NETWORK_SET_LOCAL_PLAYER_SYNC_LOOK_AT
- NETWORK_SET_MISSION_FINISHED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.