SET_DISCORD_RICH_PRESENCE_ASSET_SMALL_TEXT
This native sets the hover text of the small image asset for the discord rich presence implementation.
Hash
0x35E62B6ARuntime name
SetDiscordRichPresenceAssetSmallTextNamespaceCFX
SideClient
NameOfficial
Docs
Signature
void SET_DISCORD_RICH_PRESENCE_ASSET_SMALL_TEXT(char* text);Parameters
| Name | Type | Description |
|---|---|---|
text | 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. |
Returns void
Description
This native sets the hover text of the small image asset for the discord rich presence implementation.
Usage
SetDiscordRichPresenceAssetSmallText(text)
-- always works, by hash
Citizen.InvokeNative(0x35e62b6a, text)JavaScript and C#
SetDiscordRichPresenceAssetSmallText(text);
// by hash
Citizen.invokeNative('0x35e62b6a', text);Function.Call((Hash)0x35e62b6a, text);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.