Skip to content
View in the app

A better way to browse. Learn more.

Learn more

[Plugin] Trap Notebook

Featured Replies

[Plugin] Trap Notebookv1.0.0Counter-Strike 1.6Plugin
0 downloads · 7.1 KB · Updated 3 hours ago
AMX Mod X: 1.10Server engine: ReHLDSNeeds ReAPI: YesMetamod: Metamod-R
Sign in to download
Daemonv1.0.0 First release. · 5 files
Trap Notebook 1.0.0 (olds.ro) ============================= Gives every deathrun runner a personal record of the traps that killed them on each map. Say /trapnotes to see your three deadliest traps on the current map, and how many of your deaths no configured trap explains. Requirements - ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI - AMX Mod X 1.10.0.5490 or newer (nVault module) Install 1. Compile scripting/olds_trapnote.sma and copy olds_trapnote.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc files from the ReAPI release, addons/amxmodx/scripting/include/) next to the stock AMX Mod X includes; a stock install does not have them. 2. Copy data/lang/olds_trapnote.txt to addons/amxmodx/data/lang/. 3. Copy configs/olds_trapnote/ to addons/amxmodx/configs/olds_trapnote/ and write one <mapname>.ini per deathrun map (see _example.ini). 4. Add olds_trapnote.amxx to plugins.ini and make sure nvault is enabled in modules.ini. How deaths are written down - Runners are the CT team; terrorists (the activator) are never counted and get a "runners only" reply to /trapnotes. - A death counts for a trap when the entity that dealt it (the damage inflictor, or else the attacker) has one of the trap's targetnames or brush models. - A kill by another player is not a trap death and is not counted. - Only damage taken in the same instant as the death can name a trap. A runner hurt by a trap who later types "kill" in the console, or dies without damage (a team change), is counted as "other deaths", not as that trap. - Every other runner death (a fall, the world, a suicide, an entity you have not listed) counts as "other deaths". Storage nVault "olds_trapnote" (addons/amxmodx/data/vault/olds_trapnote.vault), one entry per Steam id and map, stored by trap name. A notebook is loaded when the player is authorised and saved when they disconnect or the map ends; the slot's counts are cleared on disconnect. Players without a real Steam id (LAN ids, bots) are kept in memory for the current connection only. Entries untouched for 60 days are removed when the plugin starts. Renaming a trap in the config drops its stored counts. Commands say /trapnotes your top three traps on this map and your other deaths olds_trapnote_status every player's notebook (ADMIN_CFG) Settings (cvar) olds_trapnote_bots 0 1 also stores bots' notebooks by bot name; for testing only No sounds, models or sprites are added.
View olds_trapnote.sma →
Install into: cstrike/
1.0.0 12/4/2026
First release.
v1.0.012/4/2026 · 7.1 KB · 0 downloads
  • Administrator

Gives every deathrun runner a personal record of the traps that killed them on each map. Say /trapnotes to see your three deadliest traps on the current map, and how many of your deaths no configured trap explains.

Requirements
  - ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  - AMX Mod X 1.10.0.5490 or newer (nVault module)

Install
  1. Compile scripting/olds_trapnote.sma and copy olds_trapnote.amxx to addons/amxmodx/plugins/.
     The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc
     files from the ReAPI release, addons/amxmodx/scripting/include/) next to
     the stock AMX Mod X includes; a stock install does not have them.
  2. Copy data/lang/olds_trapnote.txt to addons/amxmodx/data/lang/.
  3. Copy configs/olds_trapnote/ to addons/amxmodx/configs/olds_trapnote/ and write one
     <mapname>.ini per deathrun map (see _example.ini).
  4. Add olds_trapnote.amxx to plugins.ini and make sure nvault is enabled in modules.ini.

How deaths are written down
  - Runners are the CT team; terrorists (the activator) are never counted and
    get a "runners only" reply to /trapnotes.
  - A death counts for a trap when the entity that dealt it (the damage
    inflictor, or else the attacker) has one of the trap's targetnames or
    brush models.
  - A kill by another player is not a trap death and is not counted.
  - Only damage taken in the same instant as the death can name a trap. A
    runner hurt by a trap who later types "kill" in the console, or dies
    without damage (a team change), is counted as "other deaths", not as that trap.
  - Every other runner death (a fall, the world, a suicide, an entity you have
    not listed) counts as "other deaths".

Storage
  nVault "olds_trapnote" (addons/amxmodx/data/vault/olds_trapnote.vault), one
  entry per Steam id and map, stored by trap name. A notebook is loaded when the
  player is authorised and saved when they disconnect or the map ends; the
  slot's counts are cleared on disconnect. Players without a real Steam id
  (LAN ids, bots) are kept in memory for the current connection only. Entries
  untouched for 60 days are removed when the plugin starts. Renaming a trap
  in the config drops its stored counts.

Commands
  say /trapnotes           your top three traps on this map and your other deaths
  olds_trapnote_status     every player's notebook (ADMIN_CFG)

Settings (cvar)
  olds_trapnote_bots 0     1 also stores bots' notebooks by bot name; for testing only

No sounds, models or sprites are added.

Licence: GPL-3.0-or-later. Written from scratch for the olds.ro plugin workshop (card AMX-007), built with amxxpc 1.10 with zero warnings and tested on ReHLDS, ReGameDLL_CS, Metamod-R and AMX Mod X 1.10 with ReAPI.

Download: the files of this resource (source, language file and configs) are attached below.

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.