native
get_user_ping
Syntax
native get_user_ping(index, &ping, &loss);
Description
Retrieves the ping and loss of a client.
Parameters
| index | Client index |
|---|---|
| ping | Variable to store ping in |
| loss | Variable to store loss in |
Return
1 on success, 0 if client index is invalid or the client
is not connected