- added AddTargetsToMenu2() for using COMMAND_FILTER flags

- fixed amb1350 - sm_voteban/menu ban on fake clients would crash
- fake clients can no longer be banned and do not appear on ban menus

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401838
This commit is contained in:
David Anderson
2008-01-04 16:05:26 +00:00
parent 89ac3a14ba
commit 4e07200cfb
6 changed files with 83 additions and 21 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ public Action:Command_Voteban(client, args)
client,
target_list,
MAXPLAYERS,
COMMAND_FILTER_NO_MULTI,
COMMAND_FILTER_NO_MULTI|COMMAND_FILTER_NO_BOTS,
target_name,
sizeof(target_name),
tn_is_ml)) <= 0)