Sunucu tanitimi
History

CSB Anti Team Attack handles friendly fire two ways. With csb_atac_block on, a Ham_TakeDamage hook zeroes any damage between teammates — simple and absolute. With it off, the plugin instead counts team damage and team kills per player per map, and when someone crosses csb_atac_dmg_limit damage or csb_atac_tk_limit kills it punishes them.

The punishment is chosen by csb_atac_action: 1 slays, 2 kicks, 3 bans for csb_atac_bantime minutes. Every team kill is announced with a running count so players know where they stand. Inspired by ATAC by BAILOPAN; independent GPL re-implementation.

Features

  • Block mode: cancel all team damage via SetHamParamFloat.
  • Punish mode: per-map team-damage and team-kill counters.
  • Configurable action — slay, kick or timed ban — on threshold.
  • Public team-kill announcements with a running tally.

Installation

  1. Compile csb_atac.sma and copy it to addons/amxmodx/plugins/.
  2. Add it to plugins.ini and change the map.

Block mode needs friendly fire to actually be reaching the damage hook, so it works whether mp_friendlyfire is on or off. Bans are written with writeid.