This commit is contained in:
Jackzie 2024-02-15 09:01:28 -06:00
parent 4e97e7a9fa
commit 88b7ac09fc
4 changed files with 82 additions and 63 deletions

View file

@ -96,11 +96,7 @@ public Action SoundHook(int clients[MAXPLAYERS], int& numClients, char sample[PL
int client = clients[i];
if(gaggedPlayers[client].FindValue(entity) > -1) {
// Swap gagged player to end of list, then reduce array count by one.
int swap = clients[numClients - 1];
clients[numClients - 1] = client;
clients[i] = swap;
numClients -= 1;
return Plugin_Handled;
clients[i] = 0;
}
}
}