# CFX::MUMBLE_SET_PLAYER_MUTED

- **Hash:** `0xCC6C2EB1`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `MumbleSetPlayerMuted`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/MUMBLE_SET_PLAYER_MUTED

## Signature

```c
void MUMBLE_SET_PLAYER_MUTED(int playerSrc, bool toggle);
```

## Parameters

- `playerSrc` (`int`) — The player to set the mute state of
- `toggle` (`bool`) — Whether to mute or unmute the player

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Mutes or unmutes the specified player

## Usage

### Lua

```lua
MumbleSetPlayerMuted(playerSrc, toggle)

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

### JavaScript

```js
MumbleSetPlayerMuted(playerSrc, toggle);

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

### C#

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

*Sources: Cfx.re native reference.*
