Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Fall Damage Blocker

Featured Replies

  • Administrator

Disables health loss from falling for chosen players, teams or maps. Fall noise and animation stay as normal.

Fall Damage Blocker 1.0.0 (olds.ro)

Players with an access flag (VIPs, admins), optionally of one team only, lose no health when they fall. On the maps you list (kreedz, bhop, surf, fun maps...) nobody takes fall damage at all. Only fall damage is blocked: the landing sound and animation stay as normal, and every other kind of damage (trigger_hurt, shots, grenades, drowning) still hurts.

Who is protected

  • On a listed map: every player, whatever the flag and the team.
  • On other maps: a player of the olds_nofall_team team (0 = both teams) who has one of the olds_nofall_flag access flags. With olds_nofall_flag "" every player of that team is protected. Examples: flag "b" + team 0 = every admin with flag b; flag "" + team 2 = every Counter-Terrorist; flag "t" + team 1 = Terrorist VIPs only.

Requirements

  • ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  • AMX Mod X 1.10.0.5490 or newer

Install

  • Compile scripting/olds_nofall.sma and copy olds_nofall.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 data/lang/olds_nofall.txt to addons/amxmodx/data/lang/.
  • Copy configs/plugins/olds_nofall.cfg to addons/amxmodx/configs/plugins/ and configs/olds_nofall_maps.ini to addons/amxmodx/configs/, then edit them. (If the .cfg is missing, the plugin writes one with the defaults the first time it starts; the map file is optional.)
  • Add olds_nofall.amxx to addons/amxmodx/configs/plugins.ini.

Map list (addons/amxmodx/configs/olds_nofall_maps.ini) One map name per line, read when a map starts. A name that ends with * matches every map that starts with it (kz_* , bhop_*). Letter case does not matter. Lines starting with ; # or // are comments.

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

  olds_nofall_flag "b"    access flags that give the protection, any one is
                          enough; "" = every player of the team
  olds_nofall_team 0      0 both teams, 1 Terrorists only, 2 Counter-Terrorists only
  olds_nofall_maps ""     more maps where everyone is protected, besides the
                          map file; separate names with spaces or commas,
                          name* = prefix (checked at every fall, so it can be
                          changed during the map)
  olds_nofall_msg 0       1 = tell the player in chat each time a fall did no
                          damage ("Fall damage blocked: you kept 25 HP.")

Commands None.

Language The chat line is in data/lang/olds_nofall.txt ([en]). Add a section for another language there if your players need it.

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, with YaPB bots.

No sounds, models or sprites are added.

Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-0266. 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_nofall.sma

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

Fall Damage Blocker
v1.0.0Counter-Strike 1.6PluginTests passed
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads5.7 KBUpdated 12 hours ago
Sign in to download
Pawn (AMX Mod X) · 240 lines
/*
 * Fall Damage Blocker (olds.ro workshop card LIB-0266)
 *
 * Players with an access flag, optionally of one team only, lose no health
 * when they fall. On the maps named in a list nobody takes fall damage at
 * all. Only fall damage is blocked: the landing sound and animation, and
 * every other kind of damage (trigger_hurt, shots, grenades), stay as normal.
Show all 240 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.