plugins/include/clients.inc
changeset 1621 ac5d4c68a99a
parent 1509 cbb82af65663
child 1813 372939c88bc7
     1.1 --- a/plugins/include/clients.inc	Sun Oct 21 17:58:35 2007 +0000
     1.2 +++ b/plugins/include/clients.inc	Sun Oct 21 20:06:30 2007 +0000
     1.3 @@ -256,6 +256,17 @@
     1.4  native bool:IsClientObserver(client);
     1.5  
     1.6  /**
     1.7 + * Returns if the client is alive or dead.
     1.8 + *
     1.9 + * Note: This function was originally in SDKTools and was moved to core.
    1.10 + *
    1.11 + * @param client		Player's index.
    1.12 + * @return				True if the client is alive, false otherwise.
    1.13 + * @error				Invalid client index, client not in game, or no mod support.
    1.14 + */
    1.15 +native bool:IsPlayerAlive(client);
    1.16 +
    1.17 +/**
    1.18   * Retrieves values from client replicated keys.
    1.19   *
    1.20   * @param client		Player's index.