# SOCIALCLUB::SC_PRESENCE_ATTR_SET_STRING_EX

- **Hash:** `0x00000000EB2D93B3`
- **Namespace:** SOCIALCLUB
- **Runtime name (Lua/JS):** `ScPresenceAttrSetStringEx`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **Note:** not used by the game's own scripts
- **URL:** https://natives.borderlinerp.com/natives/SOCIALCLUB/SC_PRESENCE_ATTR_SET_STRING_EX

## Signature

```c
BOOL SC_PRESENCE_ATTR_SET_STRING_EX(const char* attrName, const char* value, BOOL p2);
```

## Parameters

- `attrName` (`const char*`)
- `value` (`const char*`)
- `p2` (`BOOL`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = ScPresenceAttrSetStringEx(attrName, value, p2)

-- always available, by hash
local retval = Citizen.InvokeNative(0x00000000EB2D93B3, attrName, value, p2, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = ScPresenceAttrSetStringEx(attrName, value, p2);

// by hash
const retval = Citizen.invokeNative('0x00000000EB2D93B3', attrName, value, p2, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x00000000EB2D93B3, attrName, value, p2);
```

*Sources: alloc8or RDR3 NativeDB.*
