Blocks team damage outright, or counts team damage/kills per map and auto-slays, kicks or bans repeat offenders.
| csb_atac.sma main | 14c3f92 | 4.6 KB |
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
- Compile
csb_atac.smaand copy it toaddons/amxmodx/plugins/. - Add it to
plugins.iniand 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.
1. Put csb_atac.amxx in addons/amxmodx/plugins/ 2. Add it to addons/amxmodx/configs/plugins.ini 3. Change map
| CVAR | Default | Description |
|---|---|---|
csb_atac_enabled |
1 |
Master enable for the plugin. |
csb_atac_block |
1 |
1 = cancel team damage; 0 = count and punish instead. |
csb_atac_tk_limit |
3 |
Team kills in one map before punishment (punish mode). |
csb_atac_dmg_limit |
300 |
Team damage in one map before punishment (punish mode). |
csb_atac_action |
1 |
Punishment: 1 slay, 2 kick, 3 ban. |
csb_atac_bantime |
30 |
Ban length in minutes when action is 3. |
1.0.0 - Initial release.Versions →
No ratings yet.
| AMX Mod X | ≥ 1.9 |
| Engine | ReHLDS HLDS |
| ReGameDLL | Not required |
| ReAPI | Not required |
| Metamod | Metamod / Metamod-r |
| Required modules | hamsandwich |
| Known conflicts | Other friendly-fire or anti-teamkill plugins that also hook Ham_TakeDamage can conflict; run only one. |









