added IsClientInKickQueue() to deal with a bot issue

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401515
This commit is contained in:
David Anderson
2007-10-01 18:41:39 +00:00
parent 4c4b89a403
commit 2c5cd63552
4 changed files with 48 additions and 1 deletions
+12 -1
View File
@@ -205,11 +205,22 @@ native bool:IsClientConnected(client);
/**
* Returns if a certain player has entered the game.
*
* @param client Player index.
* @param client Player index (index does not have to be connected).
* @return True if player has entered the game, false otherwise.
* @error Invalid client index.
*/
native bool:IsClientInGame(client);
/**
* Returns if a client is in the "kick queue" (i.e. the client will be kicked
* shortly and thus they should not appear as valid).
*
* @param client Player index (must be connected).
* @return True if in the kick queue, false otherwise.
* @error Invalid client index.
*/
native bool:IsClientInKickQueue(client);
/**
* Backwards compatibility stock - use IsClientInGame
* @deprecated Renamed to IsClientInGame