The Lab
NETWORK native

NETWORK_SET_RICH_PRESENCE

returns void4 paramsbuild 1207

Sets the platform rich presence status of the local player.

Signature

C
void NETWORK_SET_RICH_PRESENCE(int p0, Any* p1, int p2, int p3); // 0x1DCCACDCFC569362 b1207

Parameters

#NameType
1p0int
2p1Any* (out pointer)
3p2int
4p3int

Facts

Facts about NETWORK_SET_RICH_PRESENCE
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.

Lua
local p1 = Citizen.InvokeNative(0x1DCCACDCFC569362, -- NETWORK_SET_RICH_PRESENCE
  0, -- int p0
  Citizen.PointerValueInt(), -- Any* p1
  0, -- int p2
  0 -- int p3
)
print(p1)
JavaScript
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)
C#
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>();
All NETWORK natives

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