# SOCIALCLUB::SC_PRESENCE_ATTR_SET_INT_EX

- **Hash:** `0x0000000085488C49`
- **Namespace:** SOCIALCLUB
- **Runtime name (Lua/JS):** `ScPresenceAttrSetIntEx`
- **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_INT_EX

## Signature

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

## Parameters

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

## Returns

`BOOL`

## Usage

### Lua

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

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

### JavaScript

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

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
