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