Fix error caused by removing voiceannounce_ex
This commit is contained in:
parent
b084b96bb1
commit
e103ac717d
@ -8,7 +8,7 @@
|
||||
#undef REQUIRE_PLUGIN
|
||||
#include <ccc>
|
||||
#include <zombiereloaded>
|
||||
#include <voiceannounce_ex>
|
||||
#tryinclude <voiceannounce_ex>
|
||||
#include <AdvancedTargeting>
|
||||
#define REQUIRE_PLUGIN
|
||||
|
||||
@ -642,6 +642,7 @@ void DisplayMuteMenu(int client)
|
||||
|
||||
int[] aClients = new int[MaxClients + 1];
|
||||
|
||||
#if defined _voiceannounceex_included_
|
||||
if(g_Plugin_voiceannounce_ex)
|
||||
{
|
||||
// Count talking players and insert id's into aClients array
|
||||
@ -675,6 +676,7 @@ void DisplayMuteMenu(int client)
|
||||
menu.AddItem("", "", ITEMDRAW_RAWLINE);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
menu.AddItem("@all", "Everyone");
|
||||
menu.AddItem("@spec", "Spectators");
|
||||
|
Loading…
Reference in New Issue
Block a user