# CFX::MUMBLE_SET_AUDIO_OUTPUT_DISTANCE

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

## Signature

```c
void MUMBLE_SET_AUDIO_OUTPUT_DISTANCE(float distance);
```

## Parameters

- `distance` (`float`) — The output distance.

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Sets the current output distance. The player will be able to hear other players talking within this distance.

## Usage

### Lua

```lua
MumbleSetAudioOutputDistance(distance)

-- always available, by hash
Citizen.InvokeNative(0x74c597d9, distance)
```

### JavaScript

```js
MumbleSetAudioOutputDistance(distance);

// by hash
Citizen.invokeNative('0x74c597d9', distance + 0.0000001);
```

### C#

```csharp
Function.Call((Hash)0x74c597d9, distance);
```

- Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.

*Sources: Cfx.re native reference.*
