multitheftauto/amx

NetStats_*

Disinterpreter opened this issue · 1 comments

Function name

  • NetStats_BytesReceived
  • NetStats_BytesSent
  • NetStats_ConnectionStatus
  • NetStats_GetConnectedTime
  • NetStats_GetIpPort
  • NetStats_MessagesReceived
  • NetStats_MessagesRecvPerSecond
  • NetStats_MessagesSent
  • NetStats_PacketLossPercent

playerid The ID of the player to get the connection status of.

Describe the function
The functions to given some network statistics.

Equivalent in MTA
https://wiki.multitheftauto.com/wiki/GetNetworkStats
https://wiki.multitheftauto.com/wiki/GetNetworkUsageData

Additional information
https://wiki.sa-mp.com/wiki/NetStats_BytesReceived
https://wiki.sa-mp.com/wiki/NetStats_BytesSent
https://wiki.sa-mp.com/wiki/NetStats_ConnectionStatus
https://wiki.sa-mp.com/wiki/NetStats_GetConnectedTime
https://wiki.sa-mp.com/wiki/NetStats_GetIpPort
https://wiki.sa-mp.com/wiki/NetStats_MessagesReceived
https://wiki.sa-mp.com/wiki/NetStats_MessagesRecvPerSecond
https://wiki.sa-mp.com/wiki/NetStats_MessagesSent
https://wiki.sa-mp.com/wiki/NetStats_PacketLossPercent

All functions depends on players. Many functions might be client side. So I think we should connect is with an issue of blue