1.1 --- a/plugins/include/clients.inc Thu Feb 19 14:23:36 2009 +1300
1.2 +++ b/plugins/include/clients.inc Thu Feb 19 19:19:44 2009 +1300
1.3 @@ -708,3 +708,17 @@
1.4 */
1.5 native ChangeClientTeam(client, team);
1.6
1.7 +/**
1.8 + * Returns the clients unique serial identifier.
1.9 + *
1.10 + * @return Serial number.
1.11 + */
1.12 +native GetClientSerial(client);
1.13 +
1.14 +/**
1.15 + * Returns the client index by its serial number.
1.16 + *
1.17 + * @return Client index, or 0 for invalid serial.
1.18 + */
1.19 +native GetClientFromSerial(serial);
1.20 +