NETWORK_SET_RICH_PRESENCE
Hash
0x1DCCACDCFC569362Runtime name
NetworkSetRichPresenceNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x1DCCACDCFC569362Signature
void NETWORK_SET_RICH_PRESENCE(int p0, Any* p1, int p2, int p3);Parameters
| Name | Type | Description |
|---|---|---|
p0 | int | — |
p1 | Any* | — |
p2 | int | — |
p3 | int | — |
Returns void
Usage
local p1 = NetworkSetRichPresence(p0, p2, p3)
-- always works, by hash
local p1 = Citizen.InvokeNative(0x1DCCACDCFC569362, p0, Citizen.PointerValueInt(), p2, p3)JavaScript and C#
const p1 = NetworkSetRichPresence(p0, p2, p3);
// by hash
const p1 = Citizen.invokeNative('0x1DCCACDCFC569362', p0, Citizen.pointerValueInt(), p2, p3);var p1 = new OutputArgument();
Function.Call((Hash)0x1DCCACDCFC569362, p0, p1, p2, p3);
// p1.GetResult<int>()- Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
Any*arguments are often structs. Build them with a DataView buffer and pass it with:Buffer()— see the examples and notes below.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.