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