GetClientAvgPackets Function

Returns the client's average packet frequency in packets/sec.

float GetClientAvgPackets(int client, NetFlow flow)

Parameters

int client

Player's index.

NetFlow flow

Traffic flowing direction.

Return Value

Packet frequency.

Errors

Invalid client index, client not connected, or fake client.