# CFX::SET_DISCORD_RICH_PRESENCE_ASSET_SMALL

- **Hash:** `0xF61D04C4`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `SetDiscordRichPresenceAssetSmall`
- **Side:** client (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/SET_DISCORD_RICH_PRESENCE_ASSET_SMALL

## Signature

```c
void SET_DISCORD_RICH_PRESENCE_ASSET_SMALL(char* assetName);
```

## Parameters

- `assetName` (`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.

## Returns

`void`

## Description

*Source: Cfx.re native reference*

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

## Usage

### Lua

```lua
SetDiscordRichPresenceAssetSmall(assetName)

-- always available, by hash
Citizen.InvokeNative(0xf61d04c4, assetName)
```

### JavaScript

```js
SetDiscordRichPresenceAssetSmall(assetName);

// by hash
Citizen.invokeNative('0xf61d04c4', assetName);
```

### C#

```csharp
Function.Call((Hash)0xf61d04c4, assetName);
```

*Sources: Cfx.re native reference.*
