SetDiscordRichPresenceAction
DocsSetDiscordRichPresenceAction(index, label, url)Description
Sets a clickable button to be displayed in a player's Discord rich presence.
Parameters
| Name | Type | Description |
|---|---|---|
index | int | The button index, either 0 or 1. |
label | char* | The text to display on the button. |
url | char* | The URL to open when clicking the button. This has to start with `fivem://connect/` or `https://`. |
Returns
voidThis native does not return a value.