Commit 38b3e18c authored by Jordan Allard's avatar Jordan Allard

Actually apply fix

parent 51be5ff7
This diff was suppressed by a .gitattributes entry.
......@@ -163,6 +163,8 @@ public void OnClientSayCommand_Post(int client, const char[] command, const char
for (int i = 1; i <= MaxClients; i++) {
// If the admin is an alive SA or a dead admin of any level on the opposite team show the opposite team's team chat
bool adminAlive = IsValidClient(i, true);
if (!adminAlive)
if (GetClientTeam(i) != team && (IsClientSA(i) || (!adminAlive && IsClientAdmin(i)))) {
if (team == CS_TEAM_T)
PrintToChat(i, "(\x10T\x01) \x0F%s\x01: %s", name, sArgs);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment