# CFX::SET_RICH_PRESENCE

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

## Signature

```c
void SET_RICH_PRESENCE(char* presenceState);
```

## Parameters

- `presenceState` (`char*`) — The rich presence string to set.

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Sets the player's rich presence detail state for social platform providers to a specified string.

## Usage

### Lua

```lua
SetRichPresence(presenceState)

-- always available, by hash
Citizen.InvokeNative(0x7bdcbd45, presenceState)
```

### JavaScript

```js
SetRichPresence(presenceState);

// by hash
Citizen.invokeNative('0x7bdcbd45', presenceState);
```

### C#

```csharp
Function.Call((Hash)0x7bdcbd45, presenceState);
```

*Sources: Cfx.re native reference.*
