CSB Aimbot Detection watches for the two things aim assistance does that humans cannot. Every frame it samples each alive player's view angle (pev_v_angle via fakemeta) and measures how far it moved in that single frame. When a kill lands on a frame where the view snapped more than csb_aim_snapangle degrees, a snap counter goes up; enough of those and the player is flagged. A second, independent signal is a sustained headshot ratio above csb_aim_hsratio percent over at least csb_aim_minkills kills. Suspects are logged with the exact evidence and online admins are alerted.
This is a heuristic aid, not an auto-banner. It never kicks or bans on its own — false positives happen with flick-heavy legit players, so a human should always review the log evidence before acting.
Features
- Per-frame view-angle sampling with correct 180-degree wrap handling.
- Impossible-snap counter tied to the killing frame.
- Inhuman headshot-ratio signal with a minimum-sample guard.
- Evidence written to the AMXX log; admins (
ADMIN_KICK) alerted in chat. - Each player is flagged at most once to avoid alert spam.
Installation
- Compile
csb_aimbot_detect.smaand copy it toaddons/amxmodx/plugins/. - Add it to
plugins.iniand change the map.
Treat every flag as a lead to review, not a verdict. Tune the thresholds to your player base before trusting them.









