GetClientAvgData Function

Returns the client's data flow in bytes/sec.

float GetClientAvgData(int client, NetFlow flow)

Parameters

int client

Player's index.

NetFlow flow

Traffic flowing direction.

Return Value

Data flow.

Errors

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