# CFX::MUMBLE_SET_VOICE_TARGET

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

## Signature

```c
void MUMBLE_SET_VOICE_TARGET(int targetId);
```

## Parameters

- `targetId` (`int`) — A Mumble voice target ID, ranging from 1..30 (inclusive). 0 disables voice targets, and 31 is server loopback.

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Sets the current Mumble voice target ID to broadcast voice to.

## Usage

### Lua

```lua
MumbleSetVoiceTarget(targetId)

-- always available, by hash
Citizen.InvokeNative(0x960a4a95, targetId)
```

### JavaScript

```js
MumbleSetVoiceTarget(targetId);

// by hash
Citizen.invokeNative('0x960a4a95', targetId);
```

### C#

```csharp
Function.Call((Hash)0x960a4a95, targetId);
```

*Sources: Cfx.re native reference.*
