Skip to content
View in the app

A better way to browse. Learn more.

Learn more

AWP One-Shot Kill

Featured Replies

  • Administrator

Makes the sniper rifle kill on any body hit, with a cvar to limit it to certain hit groups.

AWP One-Shot Kill 1.0.0 (olds.ro)

A bullet from the AWP kills on any body hit, not only on the head or the chest. A cvar limits it to some hit groups, armor can be ignored or not, and the Scout can be made to work the same way.

  • olds_ao_groups chooses where one bullet kills, as a sum: head 1, chest 2, stomach 4, arms 8, legs 16 (31 or more = everywhere; the default 255 is everywhere). 3 = head and chest only. Other hit groups take the game's normal damage.
  • olds_ao_armor 1: armor does not save the victim. 0: the game's armor reduction still applies to the lethal hit, so an armored victim can survive a chest or stomach hit.
  • olds_ao_scout 1: the Scout kills in one hit too.
  • Only bullets count, fired by a player holding the AWP (or the Scout). Grenades, the knife and other guns are not touched.
  • A bullet through a wall still kills when the hit group is allowed.
  • The game still decides whether a hit may hurt at all: with friendly fire off a teammate takes no damage, as before.
  • The plugin shows no text and has no language file.

Requirements

  • ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  • AMX Mod X 1.10.0.5490 or newer, with the fakemeta module (enabled by default)

Install

  • Compile scripting/olds_awponeshot.sma and copy olds_awponeshot.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc files from the ReAPI release, in addons/amxmodx/scripting/include/) next to the stock AMX Mod X includes.
  • Copy configs/plugins/olds_awponeshot.cfg to addons/amxmodx/configs/plugins/ and change the values you want. (If the file is missing, the plugin writes one with the defaults the first time it starts.)
  • Add olds_awponeshot.amxx to addons/amxmodx/configs/plugins.ini.

Settings (addons/amxmodx/configs/plugins/olds_awponeshot.cfg)

  olds_ao_groups 255       hit groups where one bullet kills: head 1,
                           chest 2, stomach 4, arms 8, legs 16, added up
  olds_ao_armor 1          1 = armor does not save the victim
  olds_ao_scout 0          1 = the Scout kills in one hit too

Commands None.

Tested on ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814, Metamod-r 1.3.0.149, AMX Mod X 1.10.0-git5490, ReAPI 5.29.0.358.

Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-0094. Licence: GNU General Public License v3.0 or later (GPL-3.0-or-later).

Install

Download 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_awponeshot.sma, test/lib0094_probe.sma

License: GPL-3.0-or-later.
Written for the olds.ro plugin workshop (LIB-0094), by alexit and checked by the automated Claude review.

AWP One-Shot Kill
v1.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads4.5 KBUpdated 11 hours ago
Sign in to download
Pawn (AMX Mod X) · 201 lines
/*
 * AWP One-Shot Kill (olds.ro workshop card LIB-0094)
 *
 * A bullet from the AWP kills on any body hit, not only on the head or the
 * chest. A cvar limits it to some hit groups, armor can be ignored or not,
 * and the Scout can be made to work the same way.
 *
Show all 201 lines

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.