SET_RICH_PRESENCE
Sets the player's rich presence detail state for social platform providers to a specified string.
Signature
void SET_RICH_PRESENCE(char* presenceState);Parameters
| Name | Type | Description |
|---|---|---|
presenceState | char* | The rich presence string to set. |
Returns void
Description
Sets the player's rich presence detail state for social platform providers to a specified string.
Usage
SetRichPresence(presenceState)
-- always works, by hash
Citizen.InvokeNative(0x7bdcbd45, presenceState)JavaScript and C#
SetRichPresence(presenceState);
// by hash
Citizen.invokeNative('0x7bdcbd45', presenceState);Function.Call((Hash)0x7bdcbd45, presenceState);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.