why did i do that mistake, self mute also works as gag even with this enabled

This commit is contained in:
jenz 2026-07-11 17:36:21 +02:00
parent f6536fd3c5
commit a8dbd00f89

View File

@ -2718,7 +2718,7 @@ public Action Event_PlayerSay(Handle event, const char[] name, bool dontBroadcas
{
if (IsClientInGame(client) && GetClientTeam(client) == team)
{
if(!g_Ignored[client * (MAXPLAYERS + 1) + g_msgAuthor] /*&& MessageForward(client, g_msgAuthor, g_msgText)*/ )
if(!g_Ignored[client * (MAXPLAYERS + 1) + g_msgAuthor] && MessageForward(client, g_msgAuthor, g_msgText) )
players[playersNum++] = client;
}
}
@ -2729,7 +2729,7 @@ public Action Event_PlayerSay(Handle event, const char[] name, bool dontBroadcas
{
if (IsClientInGame(client))
{
if(!g_Ignored[client * (MAXPLAYERS + 1) + g_msgAuthor] /* && MessageForward(client, g_msgAuthor, g_msgText)*/ )
if(!g_Ignored[client * (MAXPLAYERS + 1) + g_msgAuthor] && MessageForward(client, g_msgAuthor, g_msgText) )
players[playersNum++] = client;
}
}