# CFX::MUMBLE_SET_AUDIO_INPUT_DISTANCE

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

## Signature

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

## Parameters

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

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Sets the current input distance. The player will be able to talk to other players within this distance.

## Usage

### Lua

```lua
MumbleSetAudioInputDistance(distance)

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

### JavaScript

```js
MumbleSetAudioInputDistance(distance);

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

### C#

```csharp
Function.Call((Hash)0x1b1052e2, 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.*
