Add GetClientIClient native.

This commit is contained in:
BotoX
2019-10-20 12:28:44 +02:00
committed by BotoX
parent 1847f5e2dc
commit 9da44d67f1
2 changed files with 31 additions and 0 deletions
+9
View File
@@ -741,6 +741,15 @@ native float GetClientAvgData(int client, NetFlow flow);
*/
native float GetClientAvgPackets(int client, NetFlow flow);
/**
* Returns the client's baseserver IClient pointer.
*
* @param client Player's index.
* @return IClient address.
* @error Invalid client index, client not connected, or fake client.
*/
native Address GetClientIClient(int client);
/**
* Translates an userid index to the real player index.
*