# CFX::MUMBLE_ADD_VOICE_TARGET_PLAYER_BY_SERVER_ID

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

## Signature

```c
void MUMBLE_ADD_VOICE_TARGET_PLAYER_BY_SERVER_ID(int targetId, int serverId);
```

## Parameters

- `targetId` (`int`) — A Mumble voice target ID, ranging from 1..30 (inclusive).
- `serverId` (`int`) — The player's server id.

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Adds the specified player to the target list for the specified Mumble voice target ID.

## Usage

### Lua

```lua
MumbleAddVoiceTargetPlayerByServerId(targetId, serverId)

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

### JavaScript

```js
MumbleAddVoiceTargetPlayerByServerId(targetId, serverId);

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

### C#

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

*Sources: Cfx.re native reference.*
