Implemented amb423 - Added IsClientObserver() native

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401007
This commit is contained in:
Scott Ehlert
2007-06-22 15:37:12 +00:00
parent 3e88c91ad2
commit aef5ba1d09
2 changed files with 30 additions and 1 deletions
+8
View File
@@ -187,6 +187,14 @@ native bool:IsClientAuthorized(client);
*/
native bool:IsFakeClient(client);
/**
* Returns if a certain player is an observer/spectator.
*
* @param client Player index.
* @return True if player is an obverser, false otherwise.
*/
native bool:IsClientObserver(client);
/**
* Retrieves values from client replicated keys.
*