Skip to content

NetStats_* #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
4 of 9 tasks
Disinterpreter opened this issue Jun 14, 2020 · 1 comment
Open
4 of 9 tasks

NetStats_* #28

Disinterpreter opened this issue Jun 14, 2020 · 1 comment
Labels
compatibility Compatibility with latest version of SAMP depends on blue The feature might depend on MTA:SA source code dummy function SAMP functions

Comments

@Disinterpreter
Copy link
Member

Disinterpreter commented Jun 14, 2020

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

@Disinterpreter Disinterpreter added compatibility Compatibility with latest version of SAMP function SAMP functions labels Jun 14, 2020
@Disinterpreter
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Compatibility with latest version of SAMP depends on blue The feature might depend on MTA:SA source code dummy function SAMP functions
Projects
None yet
Development

No branches or pull requests

1 participant