5 hours ago5 hr Administrator Prevents kills on a player facing away from the attacker in deathmatch, to stop unfair back hits. Backstab Protection in DM 1.0.0 (olds.ro) For deathmatch servers: a player who faces away from the shooter cannot be killed by bullets in the back. The lethal hit is stopped and the shooter is told why. Requirements AMX Mod X 1.10.0.5490 or newer, ReAPI Install Compile scripting/olds_nobackkill.sma and copy olds_nobackkill.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_nobackkill.txt to addons/amxmodx/data/lang/. No downloads: the warning sound is the stock buttons/button10.wav. Settings (addons/amxmodx/configs/plugins/olds_nobackkill.cfg, made on first run) olds_nobackkill_angle 100 width in degrees of the back arc, centred straight behind the victim (100 = 50 degrees to either side of straight behind) olds_nobackkill_mode 1 1 = a lethal hit from behind is cancelled 2 = it goes through but leaves the victim at 1 HP olds_nobackkill_knife 1 1 = knife backstabs are allowed Admins amx_nobackkill_status (ADMIN_KICK) health and view of every player and who stands behind whom How it works RG_CBasePlayer_TakeDamage (pre), bullet damage only (DMG_BULLET; the knife also deals it). Grenades, falls and the world are never changed.The victim's view yaw (v_angle) is compared with the direction from the victim to the attacker, on the ground plane. The attacker is behind when the angle between them is more than 180 - width/2 degrees.Only a lethal hit (damage at least the victim's health) is touched; any other hit is normal, so a burst wears the victim down and only the killing bullet is stopped.The shooter sees a HUD line and hears buttons/button10.wav (at most once a second). InstallDownload the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini. Files: addons/amxmodx/scripting/olds_nobackkill.sma, test/nbtest_stub.sma Idea: olds.ro workshop library · Plugin: daemon · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (LIB-0778). Backstab Protection in DMv1.0.0Counter-Strike 1.6PluginNot tested yetAMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads3.6 KBUpdated 5 hours agoSign in to downloadolds_nobackkill.smaPawn (AMX Mod X) · 137 lines3 files/* * Backstab Protection in DM (olds.ro workshop card LIB-0778) * Copyright (C) 2026 daemon (olds.ro) * * This program is free software: you can redistribute it and/or modify it under the terms * of the GNU General Public License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later version.Show all 137 linesChangelogVersions (1)Install into: cstrike/Open the full page →
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.