plugins/include/sdktools_functions.inc
changeset 1239 eed86aca8fae
parent 1219 6f440a361fa7
child 1240 79eebacc9d02
     1.1 --- a/plugins/include/sdktools_functions.inc	Wed Aug 01 06:30:38 2007 +0000
     1.2 +++ b/plugins/include/sdktools_functions.inc	Wed Aug 01 06:55:55 2007 +0000
     1.3 @@ -115,6 +115,15 @@
     1.4  native GetClientEyeAngles(client, Float:ang[3]);
     1.5  
     1.6  /**
     1.7 + * Returns if the client is alive or dead.
     1.8 + *
     1.9 + * @param client		Player's index.
    1.10 + * @return			True if the client is dead, false otherwise.
    1.11 + * @error				Invalid client index, client not in game, or no mod support.
    1.12 + */
    1.13 +native bool:IsPlayerAlive(client);
    1.14 +
    1.15 +/**
    1.16   * @deprecated
    1.17   */
    1.18  stock IgnitePlayer(client, Float:time, bool:npc=false, Float:size=0.0, bool:level=false)