Implemented IsPlayerAlive native.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401245
This commit is contained in:
Phong Dang
2007-08-01 06:55:55 +00:00
parent 0f410208de
commit c611ba9ea5
5 changed files with 53 additions and 1 deletions
+9
View File
@@ -114,6 +114,15 @@ native SlapPlayer(client, health=5, bool:sound=true);
*/
native GetClientEyeAngles(client, Float:ang[3]);
/**
* Returns if the client is alive or dead.
*
* @param client Player's index.
* @return True if the client is dead, false otherwise.
* @error Invalid client index, client not in game, or no mod support.
*/
native bool:IsPlayerAlive(client);
/**
* @deprecated
*/