NETWORK_GET_AVERAGE_PACKET_LOSS
Old name: _NETWORK_GET_AVERAGE_PACKET_LOSS_FOR_PLAYER
Hash
0x350C23949E43686CRuntime name
NetworkGetAveragePacketLossNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x350C23949E43686CNot called by the game's own scripts — behaviour may be incomplete.
Signature
float NETWORK_GET_AVERAGE_PACKET_LOSS(Player player);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
Returns float
Description
Old name: _NETWORK_GET_AVERAGE_PACKET_LOSS_FOR_PLAYER
Usage
local retval = NetworkGetAveragePacketLoss(player)
-- always works, by hash
local retval = Citizen.InvokeNative(0x350C23949E43686C, player, Citizen.ResultAsFloat())JavaScript and C#
const retval = NetworkGetAveragePacketLoss(player);
// by hash
const retval = Citizen.invokeNative('0x350C23949E43686C', player, Citizen.returnResultAnyway(), Citizen.resultAsFloat());float retval = Function.Call<float>((Hash)0x350C23949E43686C, player);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.