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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user