SET_DISCORD_RICH_PRESENCE_ASSET_SMALL
This native sets the small image asset for the discord rich presence implementation.
CFX
Signature
lua
SetDiscordRichPresenceAssetSmall(assetName)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| char* | The name of a valid asset registered on Discordapp's developer dashboard. Note that the asset has to be registered under the same discord API application set using the SET_DISCORD_APP_ID native. |
Usage
lua
SetDiscordRichPresenceAssetSmall(assetName)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
