diff -r acaae238bd29 -r 3ebff7c63316 plugins/adminmenu.sp --- a/plugins/adminmenu.sp Mon Oct 22 05:53:38 2007 +0000 +++ b/plugins/adminmenu.sp Mon Oct 22 06:01:07 2007 +0000 @@ -171,7 +171,14 @@ public __AddTargetsToMenu(Handle:plugin, numParams) { - return UTIL_AddTargetsToMenu(GetNativeCell(1), GetNativeCell(2), GetNativeCell(3), GetNativeCell(4)); + new bool:alive_only = false; + + if (numParams >= 4) + { + alive_only = GetNativeCell(4); + } + + return UTIL_AddTargetsToMenu(GetNativeCell(1), GetNativeCell(2), GetNativeCell(3), alive_only); } public Action:Command_DisplayMenu(client, args)