mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 14:23:21 +00:00
TKStopper: Fix confirm message on ignore
This commit is contained in:
parent
81a40b3751
commit
e0b7eb803d
2 changed files with 5 additions and 4 deletions
Binary file not shown.
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue