Added a client verification serial API (bug 3616, r=dvander)

This commit is contained in:
Matt Woodrow
2009-02-19 19:19:44 +13:00
parent db43487b5a
commit ca3df3bd50
5 changed files with 94 additions and 1 deletions
+14
View File
@@ -708,3 +708,17 @@ native KickClientEx(client, const String:format[]="", any:...);
*/
native ChangeClientTeam(client, team);
/**
* Returns the clients unique serial identifier.
*
* @return Serial number.
*/
native GetClientSerial(client);
/**
* Returns the client index by its serial number.
*
* @return Client index, or 0 for invalid serial.
*/
native GetClientFromSerial(serial);