RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. SET_DISCORD_RICH_PRESENCE_ASSET

SET_DISCORD_RICH_PRESENCE_ASSET

This native sets the image asset for the discord rich presence implementation.

CFX

Signature

lua
SetDiscordRichPresenceAsset(assetName)
-- returns void

Parameters

NameTypeDescription
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
SetDiscordRichPresenceAsset(assetName)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details