Skip to content

Commit d24851a

Browse files
committed
Fixed record punishment upon nade explosions from others
1 parent 5d82658 commit d24851a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

plugins/hl_kreedz.amxx

75 Bytes
Binary file not shown.

scripting/hl_kreedz.sma

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3718,7 +3718,13 @@ public Fw_HamTakeDamagePlayerPost(victim, inflictor, aggressor, Float:damage, da
37183718
// a nade far up, reconnect, start the timer, and then that nade
37193719
// just falls into the ground, explodes and boosts player in some
37203720
// direction with the damage inflicted
3721-
PunishPlayerCheatingWithWeapons(victim);
3721+
//PunishPlayerCheatingWithWeapons(victim);
3722+
3723+
// EDIT: so in HLKZ we cannot damage other players, so yea, we have
3724+
// to check the aggressor
3725+
if (victim == aggressor) {
3726+
PunishPlayerCheatingWithWeapons(victim);
3727+
}
37223728
}
37233729
}
37243730
}

0 commit comments

Comments
 (0)