NetworkClient

networkSetRichPresence

NETWORK_SET_RICH_PRESENCE0x1DCCACDCFC569362

The GTA V native NETWORK_SET_RICH_PRESENCE of the NETWORK namespace, as LS:MP client scripts call it: the global function networkSetRichPresence, in JavaScript and in Lua.

SignatureJavaScript
networkSetRichPresence(p0: number, p1: number, p2: any, p3: any): void
SignatureLua
networkSetRichPresence(p0: integer, p1: integer, p2: any, p3: any)

Usage

JavaScript
networkSetRichPresence(p0, p1, p2, p3);
Lua
networkSetRichPresence(p0, p1, p2, p3)

Parameters

ParameterTypeJavaScriptLua
p0intnumberinteger
p1intnumberinteger
p2Anyanyany
p3Anyanyany

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

This native does absolutely nothing, just a nullsub

Reference

Namespace
Network NETWORK
In the game
void NETWORK_SET_RICH_PRESENCE(int p0, int p1, Any p2, Any p3)
Hash
0x1DCCACDCFC569362

Open in the interactive natives reference