Added alive checks before adding certain player lists to the admin menu

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401632
This commit is contained in:
Matt Woodrow
2007-10-22 02:05:51 +00:00
parent ef6da943d6
commit f3e7bf4a16
13 changed files with 20 additions and 14 deletions
+2 -1
View File
@@ -91,9 +91,10 @@ native Handle:GetAdminTopMenu();
* @param menu Menu Handle.
* @param source_client Source client, or 0 to ignore immunity.
* @param in_game_only True to only select in-game players.
* @param alive_only True to only select alive players.
* @return Number of clients added.
*/
native AddTargetsToMenu(Handle:menu, source_client, bool:in_game_only=true);
native AddTargetsToMenu(Handle:menu, source_client, bool:in_game_only=true, bool:alive_only=false);
/**
* Re-displays the admin menu to a client after selecting an item.