<p><strong>CSB Anti Team Attack</strong> handles friendly fire two ways. With <code>csb_atac_block</code> on, a <code>Ham_TakeDamage</code> 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 <code>csb_atac_dmg_limit</code> damage or <code>csb_atac_tk_limit</code> kills it punishes them.</p><p>The punishment is chosen by <code>csb_atac_action</code>: 1 slays, 2 kicks, 3 bans for <code>csb_atac_bantime</code> minutes. Every team kill is announced with a running count so players know where they stand. Inspired by <em>ATAC</em> by BAILOPAN; independent GPL re-implementation.</p><h2>Features</h2><ul><li>Block mode: cancel all team damage via <code>SetHamParamFloat</code>.</li><li>Punish mode: per-map team-damage and team-kill counters.</li><li>Configurable action — slay, kick or timed ban — on threshold.</li><li>Public team-kill announcements with a running tally.</li></ul><h2>Installation</h2><ol><li>Compile <code>csb_atac.sma</code> and copy it to <code>addons/amxmodx/plugins/</code>.</li><li>Add it to <code>plugins.ini</code> and change the map.</li></ol><p>Block mode needs friendly fire to actually be reaching the damage hook, so it works whether <code>mp_friendlyfire</code> is on or off. Bans are written with <code>writeid</code>.</p>









