# NETWORK::_SET_SOCIAL_MATCHMAKING_ALLOWED

- **Hash:** `0x777D0571A466B520`
- **Namespace:** NETWORK
- **Runtime name (Lua/JS):** `SetSocialMatchmakingAllowed`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/NETWORK/_SET_SOCIAL_MATCHMAKING_ALLOWED

## Signature

```c
void _SET_SOCIAL_MATCHMAKING_ALLOWED(BOOL toggle);
```

## Parameters

- `toggle` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
SetSocialMatchmakingAllowed(toggle)

-- always available, by hash
Citizen.InvokeNative(0x777D0571A466B520, toggle)
```

### JavaScript

```js
SetSocialMatchmakingAllowed(toggle);

// by hash
Citizen.invokeNative('0x777D0571A466B520', toggle);
```

### C#

```csharp
Function.Call((Hash)0x777D0571A466B520, toggle);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

## See also

- [NETWORK::_GET_SOCIAL_MATCHMAKING_ALLOWED](https://natives.borderlinerp.com/natives/NETWORK/_GET_SOCIAL_MATCHMAKING_ALLOWED.md)

*Sources: alloc8or RDR3 NativeDB.*
