diff --git a/SelfMute/scripting/SelfMute.sp b/SelfMute/scripting/SelfMute.sp index 4d2c4c6..9550e55 100644 --- a/SelfMute/scripting/SelfMute.sp +++ b/SelfMute/scripting/SelfMute.sp @@ -8,7 +8,7 @@ #undef REQUIRE_PLUGIN #include #include -#include +#tryinclude #include #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");