SetDiscordRichPresenceAction — RedM Natives
0xCBBC3FAC · CFX · client
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
void