# CFX::MUMBLE_SET_SERVER_ADDRESS

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

## Signature

```c
void MUMBLE_SET_SERVER_ADDRESS(char* address, int port);
```

## Parameters

- `address` (`char*`) — The address of the mumble server.
- `port` (`int`) — The port of the mumble server.

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Changes the Mumble server address to connect to, and reconnects to the new address.

Setting the address to an empty string and the port to -1 will reset to the built in FXServer Mumble Implementation.

## Usage

### Lua

```lua
MumbleSetServerAddress(address, port)

-- always available, by hash
Citizen.InvokeNative(0xe6eb2cd8, address, port)
```

### JavaScript

```js
MumbleSetServerAddress(address, port);

// by hash
Citizen.invokeNative('0xe6eb2cd8', address, port);
```

### C#

```csharp
Function.Call((Hash)0xe6eb2cd8, address, port);
```

*Sources: Cfx.re native reference.*
