SET_DISCORD_RICH_PRESENCE_ASSET_TEXT
This native sets the hover text of the image asset for the discord rich presence implementation.
CFX
Signature
lua
SetDiscordRichPresenceAssetText(text)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| char* | Text to be displayed when hovering over image asset. Note that you must also set a valid image asset using the SET_DISCORD_RICH_PRESENCE_ASSET native. |
Usage
lua
SetDiscordRichPresenceAssetText(text)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
