# NETWORK::NETWORK_GET_AVERAGE_PACKET_LOSS

- **Hash:** `0x350C23949E43686C`
- **Namespace:** NETWORK
- **Runtime name (Lua/JS):** `NetworkGetAveragePacketLoss`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **Note:** not used by the game's own scripts
- **URL:** https://natives.borderlinerp.com/natives/NETWORK/NETWORK_GET_AVERAGE_PACKET_LOSS

## Signature

```c
float NETWORK_GET_AVERAGE_PACKET_LOSS(Player player);
```

## Parameters

- `player` (`Player`)

## Returns

`float`

## Description

Old name: _NETWORK_GET_AVERAGE_PACKET_LOSS_FOR_PLAYER

## Usage

### Lua

```lua
local retval = NetworkGetAveragePacketLoss(player)

-- always available, by hash
local retval = Citizen.InvokeNative(0x350C23949E43686C, player, Citizen.ResultAsFloat())
```

### JavaScript

```js
const retval = NetworkGetAveragePacketLoss(player);

// by hash
const retval = Citizen.invokeNative('0x350C23949E43686C', player, Citizen.returnResultAnyway(), Citizen.resultAsFloat());
```

### C#

```csharp
float retval = Function.Call<float>((Hash)0x350C23949E43686C, player);
```

*Sources: alloc8or RDR3 NativeDB.*
