Skip to content

SetDiscordRichPresenceAction ​

клиент SET_DISCORD_RICH_PRESENCE_ACTION

c
void SET_DISCORD_RICH_PRESENCE_ACTION(int index, char* label, char* url);

Sets a clickable button to be displayed in a player's Discord rich presence.

Параметры ​

  • index: The button index, either 0 or 1.
  • label: The text to display on the button.
  • url: The URL to open when clicking the button. This has to start with fivem://connect/ or https://.

Страница собрана автоматически из native-decls/SetDiscordRichPresenceAction.md. Нашли ошибку — поправьте исходный файл.

Независимый проект на базе Cfx.re. Не связан с Rockstar Games и Take-Two Interactive.