plugins/include/clients.inc
changeset 1509 cbb82af65663
parent 1423 e73b3563f254
child 1621 ac5d4c68a99a
     1.1 --- a/plugins/include/clients.inc	Mon Oct 01 18:04:37 2007 +0000
     1.2 +++ b/plugins/include/clients.inc	Mon Oct 01 18:41:39 2007 +0000
     1.3 @@ -205,12 +205,23 @@
     1.4  /**
     1.5   * Returns if a certain player has entered the game.
     1.6   *
     1.7 - * @param client		Player index.
     1.8 + * @param client		Player index (index does not have to be connected).
     1.9   * @return				True if player has entered the game, false otherwise.
    1.10 + * @error				Invalid client index.
    1.11   */
    1.12  native bool:IsClientInGame(client);
    1.13  
    1.14  /**
    1.15 + * Returns if a client is in the "kick queue" (i.e. the client will be kicked 
    1.16 + * shortly and thus they should not appear as valid).
    1.17 + *
    1.18 + * @param client		Player index (must be connected).
    1.19 + * @return				True if in the kick queue, false otherwise.
    1.20 + * @error				Invalid client index.
    1.21 + */
    1.22 +native bool:IsClientInKickQueue(client);
    1.23 +
    1.24 +/**
    1.25   * Backwards compatibility stock - use IsClientInGame
    1.26   * @deprecated			Renamed to IsClientInGame
    1.27   */