TKStopper: Fix confirm message on ignore

This commit is contained in:
Jackzie 2021-05-17 23:18:49 -05:00
parent 81a40b3751
commit e0b7eb803d
No known key found for this signature in database
GPG key ID: 1E834FE36520537A
2 changed files with 5 additions and 4 deletions

Binary file not shown.

View file

@ -164,10 +164,11 @@ public Action Command_IgnorePlayer(int client, int args) {
for(int i = 0; i < target_count; i++) {
int target = target_list[i];
if(isImmune[target])
ReplyToCommand(client, "%N is no longer immune to teamkiller detection.", target);
else
ReplyToCommand(client, "%N is now immune to teamkiller detection for this session.", target);
if(isImmune[target]) {
ShowActivity2(client, "[FTT] ", "%N has re-enabled teamkiller detection for %N", client, target);
} else {
ShowActivity2(client, "[FTT] ", "%N has ignored teamkiller detection for %N", client, target);
}
isImmune[target] = !isImmune[target];
isPlayerTroll[target] = false;
}