Everything posted by Alexit
-
Armor Weight Speed Penalty
Heavy armor slows movement by a small configurable amount per armor point. Armor Weight Speed Penalty 1.0.0 (olds.ro) Armor is heavy: every armor point lowers the player's top speed a little, and a helmet adds a bit more. The penalty follows the armor as it is bought or shot away. Speed lost per armor point: olds_aw_factor (0.0005), so 100 armor makes the player 5 percent slower. A helmet adds olds_aw_helmet (1 percent): Kevlar + helmet with 100 armor = 6 percent.The player always keeps at least olds_aw_min (0.8 = 80 percent) of his speed; olds_aw_min 1.0 turns the penalty off.The penalty applies to the game's own speed for the weapon in hand (knife, rifle, zoomed sniper, shield...), so the knife is still the fastest, just a little slower than without armor.It never stacks, however often armor is bought: the game works the speed out again from the weapon and the plugin lowers it once.It follows the armor at once: buying armor, losing armor to damage and changing the cvars all update the speed.Freeze time is left alone (nobody can move then); the penalty applies as soon as it ends. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer Install Compile scripting/olds_armorweight.sma and copy olds_armorweight.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_armorweight.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_armorweight.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_armorweight.cfg) olds_aw_factor 0.0005 speed lost per armor point, as a fraction olds_aw_helmet 0.01 extra speed lost with a helmet olds_aw_min 0.8 the player keeps at least this part of his speed (1.0 = no penalty at all) 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-0084. Licence: GNU General Public License v3.0 or later (GPL-3.0-or-later). 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_armorweight.sma, test/lib0084_probe.sma Idea: olds.ro workshop library · Plugin: alexit · 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-0084).
-
Anti Rapid Pistol Fire
Limits the fire rate of semi-automatic pistols to the legitimate maximum to stop macro and script abuse. Anti Rapid Pistol Fire 1.0.0 (olds.ro) Semi-automatic pistols cannot fire faster than a set interval, which stops fire macros and scripts from going past it. Shots that come too early are dropped; after a number of them the player is warned and logged, or kicked. Pistols: USP, Glock-18 (semi-automatic mode only; its burst mode keeps the game's own timing), P228, Desert Eagle, Five-SeveN, Dual Elites.A shot less than olds_ap_interval (0.15 s) after the previous shot of the same weapon is dropped. If the button is still held, it fires as soon as the interval has passed.Only real shots count: holding the fire button fires a pistol once, and that is not rapid fire. Several early attempts before one shot count as one dropped shot.Each weapon has its own timer, so switching weapons never drops a shot.10 ms are allowed for the server's frame timing, so a player who clicks exactly at the limit is never punished.Every olds_ap_warn (5) dropped shots the player gets a chat warning and a line goes to the AMX Mod X log. With olds_ap_kick 1 the player is kicked at the first warning instead.The count of dropped shots lasts until the player leaves the server. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer, with the hamsandwich module (enabled by default) Install Compile scripting/olds_antirapid.sma and copy olds_antirapid.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_antirapid.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_antirapid.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_antirapid.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_antirapid.cfg) olds_ap_interval 0.15 shortest time between two pistol shots (seconds) olds_ap_warn 5 dropped shots before a warning; warned and logged again every this many olds_ap_kick 0 1 = kick the player at the first warning instead Commands None. Texts Chat warning: "[Anti-Rapid-Fire] Your pistol fires faster than allowed: 5 shots were dropped. Turn off any fire macro or script." Kick reason: "Pistol fire macro or script (shots faster than allowed)". Both are in data/lang/olds_antirapid.txt and can be translated there. Log line (addons/amxmodx/logs): "Name<userid><SteamID>" fired the weapon_deagle faster than 0.15 s: 5 shots dropped. 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-0079. Licence: GNU General Public License v3.0 or later (GPL-3.0-or-later). 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_antirapid.sma, test/lib0079_probe.sma Idea: olds.ro workshop library · Plugin: alexit · 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-0079).
-
Wealth-Scaled Damage
Players carrying more cash deal extra weapon damage: every 1000 dollars adds a configurable percentage, up to a cap, so saving money has a visible combat payoff. Wealth-Scaled Damage 1.0.0 (olds.ro) The richer the attacker, the harder they hit. Damage a player deals to an enemy is multiplied by 1 + (attacker's money / 1000) x olds_wdmg_perk, at most olds_wdmg_cap read from the attacker's account at the moment of each hit. With the defaults, $16000 gives x1.32, $5000 gives x1.10 and $0 gives the stock damage. Spending the money brings the damage straight back down. Requirements ReHLDS, ReGameDLL_CS, Metamod-R, ReAPIAMX Mod X 1.10 or newer (written and tested on 1.10.0.5490) Install Compile scripting/olds_wealthdmg.sma and copy olds_wealthdmg.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc files from the ReAPI release) next to the stock AMX Mod X includes.Copy data/lang/olds_wealthdmg.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_wealthdmg.cfg to addons/amxmodx/configs/plugins/ (if it is missing, the plugin writes it with the default values).Add olds_wealthdmg.amxx to addons/amxmodx/configs/plugins.ini. Commands say /wealth (also in team chat) Shows your money and your damage multiplier. How it works Every hit a player takes passes the ReAPI hook RG_CBasePlayer_TakeDamage first; the damage of a hit from an enemy player is multiplied there. Guns and grenades are scaled; the knife only with olds_wdmg_knife 1.Left unchanged: hits on teammates (friendly fire), damage a player does to themselves, and damage from the world (falls, map hazards).In free-for-all (ReGameDLL's mp_freeforall 1) every other player counts as an enemy. Settings (addons/amxmodx/configs/plugins/olds_wealthdmg.cfg) olds_wdmg_perk 0.02 damage added per $1000 of the attacker's money (0 - 1; 0.02 = +2%) olds_wdmg_cap 1.5 highest multiplier (1 - 10) olds_wdmg_knife 0 1 = knife hits are scaled too, 0 = the knife keeps its stock damage 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 bots: an AK-47 hit of 36 at $0 and 47.5 (x1.32) at $16000; the stock 36 again after spending the money on a vest; x1.2 with olds_wdmg_cap 1.2; a teammate hit unchanged with friendly fire on; a knife hit unchanged with olds_wdmg_knife 0 and scaled with 1; an HE grenade scaled; world and self damage unchanged; real rifle hits between bots following the formula; the /wealth line. No sounds, models or sprites are added. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-2031. Licence: GNU GPL version 3 or later (GPL-3.0-or-later). 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_wealthdmg.sma Idea: olds.ro workshop library · Plugin: alexit · 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-2031).
-
Ammo Status Alerts
Short on-screen texts warn when a magazine is low, when to reload, and when the player is completely out of ammo. Ammo Status Alerts 1.0.0 (olds.ro) Short texts under the crosshair warn when the magazine is low, when it is empty and the player should reload, and when the weapon is out of ammo altogether. Each player can switch them off and on with /ammotext. "Low ammo": the magazine holds olds_as_low (20) percent of a full one or less (AK-47: 6 of 30). It is shown once, not on every shot; again only after a reload or with another weapon."Reload": the magazine is empty and there is ammo left. It stays until the reload starts."No ammo": the magazine and the reserve are both empty. It stays until the player gets ammo or switches weapons.With olds_as_flash 1, "Reload" and "No ammo" blink; with 0 they stay steady.The knife, grenades and the C4 never show a text, nor does a dead player. Switching weapons shows the state of the new weapon.The texts are director HUD texts, which cannot be cleared. So "Reload" and "No ammo" are drawn again every 0.5 s with a short life and are gone at most 0.5 s after the reason; "Low ammo" lives 1 s./ammotext is remembered until the player leaves the server. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer Install Compile scripting/olds_ammoalerts.sma and copy olds_ammoalerts.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_ammoalerts.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_ammoalerts.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_ammoalerts.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_ammoalerts.cfg) olds_as_low 20 "Low ammo" at this percent of a full magazine or less (1-99) olds_as_flash 1 1 = "Reload" and "No ammo" blink; 0 = steady Commands say /ammotext, say_team /ammotext switch the texts off or on for yourself Texts "Low ammo", "Reload", "No ammo", and the /ammotext chat line. They are in data/lang/olds_ammoalerts.txt and can be translated there. 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-0076. Licence: GNU General Public License v3.0 or later (GPL-3.0-or-later). 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_ammoalerts.sma, test/lib0076_probe.sma Idea: olds.ro workshop library · Plugin: alexit · 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-0076).
-
Readable Message Hold
Players who read slowly can make HUD messages from participating olds plugins stay on screen longer: 1x, 1.5x or 2x. The choice is saved. A message sent to everyone still keeps the normal time for players on 1x. Readable Message Hold 1.0.0 (olds.ro) Players who read slowly can make HUD messages stay on screen longer: 1x, 1.5x, 2x and so on, up to a limit the server sets. Each player chooses with /readtime, and the choice is saved. A message sent to everyone is shown to each player with their own time, so players on 1x still see it for the normal time. This is a library: it changes the HUD messages of plugins that take part, that is, plugins that show their messages with olds_hud_show() from the included olds_readtime.inc instead of set_hudmessage() and show_hudmessage(). Messages of other plugins and of the game keep their normal time. Requirements AMX Mod X 1.10 or newer with the nvault module (it ships with AMX Mod X)Tested on AMX Mod X 1.10.0.5490 (ReHLDS 3.15, ReGameDLL_CS 5.30) Install Compile scripting/olds_readtime.sma with amxxpc 1.10 and copy olds_readtime.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_readtime.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_readtime.cfg to addons/amxmodx/configs/plugins/.Add olds_readtime.amxx to addons/amxmodx/configs/plugins.ini, above the plugins that use it.For plugin authors: copy scripting/include/olds_readtime.inc to addons/amxmodx/scripting/include/. Commands /readtime (say or say_team) opens a menu: 1x, 1.5x, 2x ... up to olds_readtime_max (and the maximum itself when it falls between two steps, such as 1.8x). Your choice is marked. /readtime <n> sets the hold time directly, for example /readtime 1.5. Anything outside 1 to olds_readtime_max gets a reply with the allowed range. olds_readtime_status (server console) each player's choice and the last hold time a message got for them Settings (addons/amxmodx/configs/plugins/olds_readtime.cfg) olds_readtime_enable 1 1 = choices are used, 0 = every message keeps its normal time and /readtime only says so (choices are kept for later) olds_readtime_max 2.0 longest hold time a player can choose (1 - 5); a saved choice above it is used as this value For plugin authors (scripting/include/olds_readtime.inc) #include <olds_readtime> Float:olds_readtime_get(id) The player's multiplier, 1.0 when the plugin is off. olds_hud_show(id, r, g, b, Float:x, Float:y, Float:holdtime, const text[]) Shows text like set_hudmessage(r, g, b, x, y, 0, 6.0, hold, 0.1, 0.2, -1) followed by show_hudmessage(), where hold = holdtime x the player's multiplier. id 0 shows it to every player, each with their own time. Returns the number of players it was shown to. The include file also shows how to make the library optional, so a plugin still works on servers without it. Saving Choices are saved in addons/amxmodx/data/vault/olds_readtime.vault: by SteamID, or by name for bots and players without a unique SteamID (STEAM_ID_LAN). Files No sounds, models or sprites; nothing is downloaded by players. Texts are in data/lang/olds_readtime.txt (English). Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card IDEA-3626EAE5A4C5A12F, after an idea seen on goldsrc.ru (resources/277). Licence: GPL-3.0-or-later. 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/include/olds_readtime.inc, addons/amxmodx/scripting/olds_readtime.sma, test/olds_readtime_test.sma Idea: alexit · Plugin: alexit · 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 (IDEA-3626EAE5A4C5A12F).
-
Enemy Health Display
While you aim at another player, a HUD line shows that player's name, health and armor. Enemy info can be limited to teammates by a cvar. Enemy Health Display 1.0.0 (olds.ro) While you aim at another living player, a HUD line under the crosshair shows his name, health and armor. A cvar can limit it to teammates, and each player can switch it off and on with /hpinfo. Only a living player sees the line, and only for a living target that his aim really hits: a straight trace from his eyes, so walls block it and smoke does not.The line is red for an enemy and green for a teammate (everyone is an enemy with mp_freeforall 1).olds_eh_enemies 0 shows teammates only; 1 shows everyone.A target farther than olds_eh_range (2000 units) is not shown.When the aim leaves the target, or the target goes out of range or dies, the line is cleared at the next refresh (0.2 s). It appears within 0.3 s of aiming at someone./hpinfo is remembered until the player leaves the server. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer Install Compile scripting/olds_hpinfo.sma and copy olds_hpinfo.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_hpinfo.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_hpinfo.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_hpinfo.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_hpinfo.cfg) olds_eh_enemies 1 1 = enemies and teammates are shown; 0 = teammates only olds_eh_range 2000 players farther away than this (units) are not shown Commands say /hpinfo, say_team /hpinfo switch the line off or on for yourself Texts HUD line: "Bravo - Health: 76 - Armor: 100". Chat: "[HP Info] The health line is off. Type /hpinfo to turn it on." The texts are in data/lang/olds_hpinfo.txt and can be translated there. 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-0002. Licence: GNU General Public License v3.0 or later (GPL-3.0-or-later). 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_hpinfo.sma, test/lib0002_probe.sma Idea: olds.ro workshop library · Plugin: alexit · 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-0002).
-
Daily Config Loader
Loads a different server config depending on the weekday, so weekends can have other rules, maps or cvars than weekdays. Daily Config Loader 1.0.0 (olds.ro) Runs a different config file for each day of the week, so weekends can have other rules, settings or time limits than weekdays. The day comes from the server clock. Requirements AMX Mod X 1.10 or newer (no extra modules, ReAPI is not needed)Tested on AMX Mod X 1.10.0.5490, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814 Install Compile scripting/olds_dailycfg.sma with amxxpc 1.10 and copy olds_dailycfg.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_dailycfg.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_dailycfg.cfg to addons/amxmodx/configs/plugins/ (if you skip this, the plugin writes the same file with the default on its first start).Copy the configs/daily folder to addons/amxmodx/configs/daily/ and put each day's settings in mon.cfg, tue.cfg, wed.cfg, thu.cfg, fri.cfg, sat.cfg and sun.cfg (they only hold comments at first).Add olds_dailycfg.amxx to addons/amxmodx/configs/plugins.ini. When a day file runs On the first map after the server starts: always.With olds_daily_recheck 1 (the default) also:on every map change, because server.cfg runs again on each map and would undo the day's settings;after midnight: the server clock is checked once a minute and the new day's file runs as soon as the day changes.The file runs after server.cfg and amxx.cfg, so its settings win over theirs. Per-map configs (addons/amxmodx/configs/maps/<map>.cfg) run after it and can still change a setting for one map.A missing file is skipped and the server runs normally. One line in the AMX Mod X log says so, for example: No daily config for Monday: addons/amxmodx/configs/daily/mon.cfg does not exist, nothing was executed. The same missing file is not logged again on later maps.The first run of each day is logged: Executed the daily config for Saturday: addons/amxmodx/configs/daily/sat.cfg Settings (addons/amxmodx/configs/plugins/olds_dailycfg.cfg) olds_daily_recheck 1 1 = run the day's file again on every map change and switch to the next day's file at midnight 0 = run it only on the first map after the server starts Admin command (flag "h", ADMIN_CFG; also from the server console) amx_dailycfg shows today's day, its file (found or missing), the file that ran on this map and the re-check setting amx_dailycfg apply executes today's file now, for example after you edited it The access flag can be changed in addons/amxmodx/configs/cmdaccess.ini. Texts are in data/lang/olds_dailycfg.txt (English). Add a section such as [ro] to translate them. No sounds, models or sprites are used. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-1534. Licence: GNU GPL version 3 or later (GPL-3.0-or-later). 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_dailycfg.sma, test/olds_dailycfg_test.sma Idea: olds.ro workshop library · Plugin: alexit · 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-1534).
-
Damage Dealt Display
After you hit an enemy, a small HUD number shows the damage you just dealt, stacking while you keep shooting the same target. Players can switch it off with a chat command. Damage Dealt Display 1.0.0 (olds.ro) After you hit an enemy, a small number under the crosshair shows the damage you just dealt. While you keep hitting the same target the number keeps adding up. Each player can switch it off and on with /dmg. The number is the health the target really lost (after armor). A grenade shows its damage once; the killing bullet shows the total right after the death message.Hits on the same target less than olds_dd_stack_time (1.5) seconds apart are added together. Hitting another target, or a longer pause, starts a new total.The colour follows your team: olds_dd_color_ct for a CT, olds_dd_color_t for a Terrorist.Damage to yourself is not shown. Damage to a teammate is not shown with mp_friendlyfire 0 (unless mp_freeforall 1).The number is a director HUD text, which cannot be replaced or cleared. So it is redrawn at most every 0.75 s (shown 0.5 s, then a 0.2 s fade); hits in between are added and appear in the next redraw. Two numbers are never drawn on top of each other./dmg is remembered until the player leaves the server. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer Install Compile scripting/olds_damagedealt.sma and copy olds_damagedealt.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_damagedealt.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_damagedealt.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_damagedealt.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_damagedealt.cfg) olds_dd_stack_time 1.5 hits on the same target closer than this (seconds) are added together olds_dd_color_ct "0 120 255" colour of the number for a CT (red green blue, 0-255) olds_dd_color_t "255 90 60" colour of the number for a Terrorist Commands say /dmg, say_team /dmg switch the number off or on for yourself Chat text "[Damage] Damage numbers are off. Type /dmg to turn them on." The texts are in data/lang/olds_damagedealt.txt and can be translated there. 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-0001. Licence: GNU General Public License v3.0 or later (GPL-3.0-or-later). 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_damagedealt.sma, test/lib0001_probe.sma Idea: olds.ro workshop library · Plugin: alexit · 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-0001).
-
Assist Window
Show a player their most recent supporting hit before a teammate's elimination. Assist Window 1.0.0 (olds.ro) When a teammate finishes an enemy you hurt shortly before, you get a short private DHUD line with your last hit on that enemy and a soft beep: Assist on Rex: 40 dmg, 3.0 s ago It tells you your damage counted even though someone else got the kill. What counts Only a hit of at least olds_assistwin_mindmg damage, made at most olds_assistwin_secs seconds before the kill.The damage shown is the health your last hit took off the enemy (armor can make it lower than the weapon's damage).Hits on yourself, on a teammate and from the world never count.Hits from an earlier life never count: when you or the enemy respawn, the old hits are forgotten.The killer gets no assist line for their own kill; every other teammate who qualifies gets their own line. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10 or newerTested on AMX Mod X 1.10.0.5490, ReAPI 5.29.0.358, ReGameDLL_CS 5.30.0.814, ReHLDS 3.15.0.896 Install Compile scripting/olds_assistwin.sma with amxxpc 1.10 and copy olds_assistwin.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and reapi_*.inc) in addons/amxmodx/scripting/include/.Copy data/lang/olds_assistwin.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_assistwin.cfg to addons/amxmodx/configs/plugins/.Add olds_assistwin.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_assistwin.cfg) olds_assistwin_secs 6 look-back window in seconds (1 - 30) olds_assistwin_mindmg 10 least damage of the hit (1 - 500) Commands None. The beep is the stock buttons/blip1.wav, so nothing is downloaded. Texts are in data/lang/olds_assistwin.txt (English). Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card AMX-028. Licence: GPL-3.0-or-later. 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_assistwin.sma, test/olds_assistwin_testhelper.sma Idea: olds.ro workshop library · Plugin: alexit · 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 (AMX-028).
-
Armor and Health Regeneration
Players slowly regain health and armor over time or after avoiding damage, with settings for delay, rate and caps. Armor and Health Regeneration 1.0.0 (olds.ro) A living player who has not been hurt for a few seconds slowly gets his health and armor back, up to set caps. Players with a chosen admin flag (VIPs) regenerate twice as fast. After olds_rg_delay (5) seconds without damage, the player gets olds_rg_hp (2) health and olds_rg_ap (1) armor every second.Health stops at olds_rg_maxhp (100), armor at olds_rg_maxap (100). Health or armor already above its cap is never lowered.Every point of damage restarts the wait, so a player who is shot during regeneration waits the full delay again.Players with the olds_rg_vip_flag admin flag ("b" by default) get twice the health and armor every second.A vest keeps its helmet. Armor that reached 0 is a destroyed vest: it is refilled only with olds_rg_newarmor 1 (then as Kevlar, no helmet).Regeneration stops when the player dies and starts again when he spawns. It is silent: no text and no sound.Bots regenerate the same way as players. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer Install Compile scripting/olds_regen.sma and copy olds_regen.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_regen.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_regen.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_regen.cfg) olds_rg_hp 2 health given every second (0 = no health) olds_rg_ap 1 armor given every second (0 = no armor) olds_rg_delay 5 seconds without damage before it starts olds_rg_maxhp 100 health is never raised above this olds_rg_maxap 100 armor is never raised above this olds_rg_vip_flag "b" admin flag(s) that double the rate; with several letters a player needs all of them; "" = nobody olds_rg_newarmor 0 1 = a player without armor gets a vest from the regeneration; 0 = only armor he still has is refilled 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-0082. Licence: GNU General Public License v3.0 or later (GPL-3.0-or-later). 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_regen.sma, test/lib0082_probe.sma Idea: olds.ro workshop library · Plugin: alexit · 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-0082).
-
Blinded Kill Bonus
A kill on a flashbang-blinded enemy awards extra money or score. Blinded Kill Bonus 1.0.0 (olds.ro) A kill on an enemy who is still blinded by a flashbang pays the killer extra money and, if set, extra frags. The killer gets a chat line. Killing a blinded enemy gives olds_bb_money ($300) and olds_bb_frag extra frags (0 = none); the scoreboard shows the frags at once.The victim counts as blinded while the white of his flash is at least olds_bb_minalpha (200, on a 0-255 scale): during the whole hold of the flash, then during the part of the fade-out that is still that white. A flashbang seen face on gives 255, one seen from the side or from behind gives 200; a flash weaker than olds_bb_minalpha never counts.Once the flash has faded below olds_bb_minalpha, a kill pays nothing extra.Only an enemy kill counts (any player with mp_freeforall 1). Killing a blinded teammate with friendly fire gives nothing.Any weapon counts: a grenade kill pays the player who threw it. It does not matter who threw the flashbang.Money never goes above mp_maxmoney (16000 by default); money that is already higher is not lowered.Bots count as victims and as killers, the same as players. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer, with the cstrike and fun modules (enabled by default) Install Compile scripting/olds_blindbonus.sma and copy olds_blindbonus.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_blindbonus.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_blindbonus.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_blindbonus.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_blindbonus.cfg) olds_bb_money 300 money for killing a blinded enemy olds_bb_frag 0 extra frags for killing a blinded enemy olds_bb_minalpha 200 how white (0-255) the victim's screen must still be for him to count as blinded; applies to flashes that start after a change Commands None. Chat text "[Blind Kill] You killed a blinded enemy: +$300." The texts are in data/lang/olds_blindbonus.txt and can be translated there. How it works The ScreenFade message the game sends to a flashed player gives the time his blindness ends; the kill hook (RG_CBasePlayer_Killed) checks that the victim is still blind. The game sends no ScreenFade to its own bots, so for them the same values come from ReAPI's RG_PlayerBlind. A later screen fade from another plugin replaces the flash on the player's screen, so it replaces the blind time too. 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-0104, after the idea of "BlindBonus" (amxx.pl). Licence: GNU General Public License v3.0 or later (GPL-3.0-or-later). 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_blindbonus.sma, test/lib0104_probe.sma Idea: olds.ro workshop library · Plugin: alexit · 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-0104).
-
Contact Info Command
A chat command such as /contact shows the server's website, forum and admin contact details in chat or a window. Contact Info Command 1.0.0 (olds.ro) Players type /contact or /info in chat and see where to find the server: the website, the Discord invite and how to reach an admin. The details come as coloured chat lines that only that player sees, or in a MOTD window. Requirements AMX Mod X 1.10 or newer (no extra modules, ReAPI is not needed)Tested on AMX Mod X 1.10.0.5490, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814 Install Compile scripting/olds_contact.sma with amxxpc 1.10 and copy olds_contact.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_contact.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_contact.cfg to addons/amxmodx/configs/plugins/ (if you skip this, the plugin writes the same file with the defaults on its first start).Add olds_contact.amxx to addons/amxmodx/configs/plugins.ini.Put your own details in olds_contact.cfg. Chat commands (chat and team chat) /contact /info show the contact details The typed command stays in chat like any other line, so plugins that read chat (logs, anti-spam, gag) still see it.A contact cvar that is empty (or only spaces) is left out: no blank line and no empty row in the window. When all three are empty, the player is told "No contact details are set on this server."Within the cooldown the player gets only "Please wait N seconds before asking again." Settings (addons/amxmodx/configs/plugins/olds_contact.cfg) olds_contact_web "https://olds.ro" website line, "" = no line olds_contact_discord "" Discord line, "" = no line olds_contact_admin "" admin contact line, "" = no line olds_contact_mode 1 1 = chat lines, 2 = MOTD window olds_contact_cd 5 seconds a player waits between two uses, 0 = no wait Changes are shown at once, without a map change. A lower cooldown also shortens a wait that has already started.Values longer than 96 bytes are cut. In the window, characters such as < > & are shown as text, so a value cannot break the page. Chat example (mode 1; the labels are green) Website: https://olds.ro Discord: discord.gg/yourcode Admin: Alex - Steam: alex_cs Texts are in data/lang/olds_contact.txt (English). Add a section such as [ro] to translate them. No sounds, models or sprites are used. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-1506. Licence: GNU GPL version 3 or later (GPL-3.0-or-later). 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_contact.sma, test/olds_contact_mirror.sma Idea: olds.ro workshop library · Plugin: alexit · 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-1506).
-
Kit Coverage
Show the CT side how many living teammates have defuse kits. Kit Coverage 1.0.0 (olds.ro) A living Counter-Terrorist types /kits in chat during the freeze time and gets, privately, how many living CTs carry a defuse kit: Defuse kits: 3 of 5 living CTs. It helps the team decide who buys a kit before the round starts. The count is made fresh on every request, so a kit bought a moment ago is counted, and a dead teammate's kit is not. Requirements AMX Mod X 1.10 or newer with the cstrike and fakemeta modules (both ship with AMX Mod X)No ReAPI neededTested on AMX Mod X 1.10.0.5490, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814 Install Compile scripting/olds_kits.sma with amxxpc 1.10 and copy olds_kits.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_kits.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_kits.cfg to addons/amxmodx/configs/plugins/.Add olds_kits.amxx to addons/amxmodx/configs/plugins.ini. Commands /kits (chat or team chat) your team's defuse kit count, shown to you only; the request itself is not shown in the chat Rules Only on bomb maps (maps with a func_bomb_target or info_bomb_target). On hostage maps and others, /kits is ordinary chat.Only living Counter-Terrorists get the count. A Terrorist, a spectator or a dead CT gets a short refusal and no numbers.With olds_kits_freeze 1 it works only during the freeze time. Settings (addons/amxmodx/configs/plugins/olds_kits.cfg) olds_kits_freeze 1 1 = only during the freeze time, 0 = the whole round No sounds, models or sprites are added. Texts are in data/lang/olds_kits.txt (English). Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card AMX-024. Licence: GPL-3.0-or-later. 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_kits.sma Idea: olds.ro workshop library · Plugin: alexit · 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 (AMX-024).
-
Unstick Command
A command frees players who are stuck inside walls or other players, with a limited number of uses per round. Unstick Command 1.0.0 (olds.ro) Frees players who are stuck inside a wall or inside another player. The player types /stuck in chat, stands still for 3 seconds and is moved to the nearest free spot. Each player may do this twice per round. Admins can free another player at once with amx_unstick. Requirements ReHLDS, ReGameDLL_CS, Metamod-R, ReAPIAMX Mod X 1.10 or newer (written and tested on 1.10.0.5490) Install Compile scripting/olds_unstick.sma and copy olds_unstick.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc files from the ReAPI release) next to the stock AMX Mod X includes.Copy data/lang/olds_unstick.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_unstick.cfg to addons/amxmodx/configs/plugins/ (if it is missing, the plugin writes it with the default values).Add olds_unstick.amxx to addons/amxmodx/configs/plugins.ini. Commands say /stuck (also in team chat) Frees you if you are stuck. amx_unstick <name|#userid> Admins with the kick flag (c, ADMIN_KICK): frees another player at once, without the wait and without using up that player's /stuck uses. Each use is written to the AMX Mod X log. How it works A player is stuck when their body (standing or crouched) overlaps the map or another player where they stand. A player who is not stuck is told so and is not moved.After /stuck the player must stand still for olds_ustk_delay seconds. Moving more than a few units cancels the request; a player who got free in the meantime is not moved and keeps the use.The free spot is searched in a spiral around the player: rings 8 units apart up to olds_ustk_radius, 16 directions on each ring, first at the same height, then one ring higher. A player stuck only inside another player is never moved through a wall.With no free spot nearby and olds_ustk_spawn 1, the player goes to a free spawn point of their own team. Otherwise they are told no spot was found.Every player gets their uses back at the start of each round. Settings (addons/amxmodx/configs/plugins/olds_unstick.cfg) olds_ustk_radius 48 farthest distance searched for a free spot (16 - 256 units) olds_ustk_uses 2 /stuck moves per player per round (0 = no limit) olds_ustk_delay 3 seconds the player must stand still first (0 - 30, 0 = at once) olds_ustk_spawn 1 1 = with no free spot nearby, move the player to a team spawn 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 bots on de_dust2: a player put inside another player and freed 3 seconds after /stuck; "not stuck" when free; the third /stuck in a round refused with 2 uses and allowed again next round; a player deep in the ground moved to a team spawn, or told no spot was found with olds_ustk_spawn 0; amx_unstick refused without the kick flag and working with it and from the server console; the request cancelled when the player moves, a second /stuck while waiting answered "already running", no move for a player who got free while waiting; olds_ustk_delay 0 moving at once. Note: the game itself pushes a player out of another player when that player jumps, ducks or shoots. /stuck is for the player who stands still and stays stuck, and for players stuck in the map. No sounds, models or sprites are added. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-2007. Licence: GNU GPL version 3 or later (GPL-3.0-or-later). 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_unstick.sma Idea: olds.ro workshop library · Plugin: alexit · 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-2007).
-
Juggernaut Exposed Back
The juggernaut's armour covers only the front. Hits that land from behind deal extra damage and give the shooter a short `BACK HIT` marker. Hunters gain by flanking, and the juggernaut has to keep turning instead of walking straight down a corridor. Juggernaut Exposed Back 1.0.0 (olds.ro) An add-on for juggernaut game modes: the juggernaut's armour covers only the front. Hits that land from behind deal extra damage (twice as much by default), the shooter sees a short BACK HIT marker, and the juggernaut sees an arrow for one second that shows the side the hit came from. Hunters gain by flanking, and the juggernaut has to keep turning instead of walking straight down a corridor. Requirements ReGameDLL_CS, Metamod-r and ReAPIAMX Mod X 1.10 or newerA juggernaut core (the game mode plugin) that provides this native, true while the player is the juggernaut: native olds_is_juggernaut(id); A core with a different native needs a one-line wrapper, for example in the core's plugin_natives(): register_native("olds_is_juggernaut", "native_is_juggernaut"); Without such a core the plugin still loads, logs one line and changes nothing.Tested on ReGameDLL_CS 5.30.0.814, ReAPI 5.29.0.358 and AMX Mod X 1.10.0.5490 Install Compile scripting/olds_jback.sma with amxxpc 1.10 and copy olds_jback.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and reapi_*.inc) in addons/amxmodx/scripting/include/.Copy data/lang/olds_jback.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_jback.cfg to addons/amxmodx/configs/plugins/.Add olds_jback.amxx to addons/amxmodx/configs/plugins.ini. What counts as a back hit The juggernaut's front is an arc around where the juggernaut looks: olds_jback_arc degrees wide, 120 by default (60 degrees to each side). Damage from another player standing outside that arc is multiplied by olds_jback_mult before the game applies armour and health.Grenades count only with olds_jback_nades 1, judged from the spot where the grenade went off.A teammate who cannot hurt the juggernaut (friendly fire off) gets no marker and is not counted.The BACK HIT marker shows at most twice a second and the arrow once a second, so automatic fire does not fill the screen. Settings (addons/amxmodx/configs/plugins/olds_jback.cfg) olds_jback_enable 1 1 = on, 0 = off olds_jback_arc 120 width of the armoured front in degrees (0 - 360) olds_jback_mult 2.0 damage multiplier for hits from behind (1 - 10) olds_jback_nades 0 1 = grenades count too, 0 = never olds_jback_sound 1 1 = the shooter hears a short ricochet on a back hit Commands olds_jback_status (server console, or admins with the rcon flag "l") back hits since the map started and the damage of the last one (after the multiplier, before armour) Files The markers are DHUD text and the ricochet is the stock weapons/ric1.wav, so nothing is downloaded. Texts are in data/lang/olds_jback.txt (English). Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card IDEA-72C828BF7EE751EF. Licence: GPL-3.0-or-later. 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_jback.sma, test/olds_jback_test.sma Idea: alexit · Plugin: alexit · 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 (IDEA-72C828BF7EE751EF).
-
Map Debrief
Collect one map-specific playtest note from each participant. Map Debrief 1.0.0 (olds.ro) Collects one playtest note per player for the current map. During a playtest every player types /mapnote with what they noticed; typing it again replaces their note, so each player ends the map with one final note. Admins read the notes live with amx_mapnotes, and when the map ends all final notes are written to a text file with the map name and the time. Requirements AMX Mod X 1.10 or newer (no extra modules, no ReAPI)Tested on AMX Mod X 1.10.0.5490, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814 Install Compile scripting/olds_debrief.sma with amxxpc 1.10 and copy olds_debrief.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_debrief.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_debrief.cfg to addons/amxmodx/configs/plugins/.Add olds_debrief.amxx to addons/amxmodx/configs/plugins.ini. Commands /mapnote <text> (chat or team chat) sets or replaces your note for this map; the note is not shown in the chat /mapnote shows your current note amx_mapnotes lists the notes of this map so far (ADMIN_BAN, "d" in users.ini, and the server console) The file addons/amxmodx/logs/olds_mapnotes_<map>.txt, for example: Map debrief for de_dust2, written 2026-12-05 20:41:07, 2 note(s) 20:12:44 Alice: wall clips at bombsite B near the crates 20:30:02 Bob: ladder at long A is hard to climb Each play of the map adds its own section, so earlier playtests stay in the file. If the file cannot be written at the end of the map, one line says so in the server console and the AMX Mod X log, and the server goes on. Settings (addons/amxmodx/configs/plugins/olds_debrief.cfg) olds_debrief_len 120 longest note in characters (10 - 180); a longer note is cut and the player is told Notes Notes are kept by Steam ID, so a player who reconnects replaces their own note. Players without a lasting Steam ID (bots, LAN IDs) are kept by name.Up to 64 notes per map. No sounds, models or sprites are added. Texts are in data/lang/olds_debrief.txt (English). Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card AMX-018. Licence: GPL-3.0-or-later. 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_debrief.sma, test/olds_debrief_testhelper.sma License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (AMX-018), by alexit and checked by the automated Claude review.
-
AWP One-Shot Kill
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, ReAPIAMX 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). 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_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.
-
Bomb Plant Reward
Rewards players with money or frags for planting the bomb. Bomb Plant Reward 1.0.0 (olds.ro) The player who plants the bomb gets money and frags at once, on top of what the game itself gives. Optionally the player who defuses the bomb is rewarded too. Planting gives olds_pr_money (300) and olds_pr_frags frags (1) right away; the scoreboard shows the frags at once.With olds_pr_both 1, defusing gives olds_pr_defuse (300) and the same frags. Only a finished defuse counts, not one that is cut short.At most one plant reward and one defuse reward per round.Money never goes above mp_maxmoney (16000 by default); money that is already higher is not lowered.Bots are rewarded the same way as players.The rewarded player gets a chat line. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer, with the cstrike and fun modules (enabled by default) Install Compile scripting/olds_plantreward.sma and copy olds_plantreward.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_plantreward.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_plantreward.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_plantreward.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_plantreward.cfg) olds_pr_money 300 money for planting the bomb olds_pr_frags 1 frags for planting (and for defusing with olds_pr_both 1) olds_pr_both 0 1 = the defuser is rewarded too olds_pr_defuse 300 money for defusing the bomb (with olds_pr_both 1) Commands None. Chat text "[Bomb] Bomb planted: you earn $300 and 1 frag(s)." The texts are in data/lang/olds_plantreward.txt and can be translated there. 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-0116. Licence: GNU General Public License v3.0 or later (GPL-3.0-or-later). 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_plantreward.sma, test/lib0116_probe.sma License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (LIB-0116), by alexit and checked by the automated Claude review.
-
Buy a Frag
Players spend money to gain an extra frag, with a price that rises with each purchase. Buy a Frag 1.0.0 (olds.ro) Players spend money to gain an extra frag. The price rises with every frag the player buys on the map, and only a few can be bought per round. /buyfrag adds one frag; the scoreboard shows it at once.The first frag on the map costs olds_bf_base (5000), each one after it olds_bf_step more (7500, 10000, 12500, ...). The count belongs to the player (by SteamID, so reconnecting does not reset it) and starts again at the next map.At most olds_bf_max frags (3) per player per round.Refused, with a chat line and no money taken: not on a team, the round's limit reached, not enough money (the current price is shown).Every purchase is written to the server log with the player's name, SteamID, team and the price: "Name<uid><steamid><TEAM>" triggered "buy_frag" (price "5000")After a purchase the player is told the price of the next frag. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer, with the cstrike and fun modules (enabled by default) Install Compile scripting/olds_buyfrag.sma and copy olds_buyfrag.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_buyfrag.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_buyfrag.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_buyfrag.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_buyfrag.cfg) olds_bf_base 5000 price of the first frag a player buys on the map olds_bf_step 2500 added to the price for each frag bought before olds_bf_max 3 frags a player can buy per round (0 = no limit) Commands say /buyfrag, say_team /buyfrag buy one frag Chat text "[Frag] You bought a frag for $5000. The next one costs $7500." and the refusal lines are in data/lang/olds_buyfrag.txt and can be translated there. 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-0143. Licence: GNU General Public License v3.0 or later (GPL-3.0-or-later). 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_buyfrag.sma, test/lib0143_probe.sma License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (LIB-0143), by alexit and checked by the automated Claude review.
-
Screen Shake Opt-Out
A per-player switch that stops every screen shake the server sends, from grenades and from plugins alike. Players who get motion sick keep playing normally and only the camera shaking is removed for them. Screen Shake Opt-Out 1.0.0 (olds.ro) Lets every player turn screen shakes off for themselves, for players who get motion sick or simply want a steady view. A player types /noshake in chat and from then on the server stops sending them screen shakes: env_shake effects on maps and the shakes other plugins send (earthquakes, admin "shake" commands, zombie infections and so on). Damage, sounds and everything else stay the same, and every other player still gets their shakes. The choice is saved by SteamID, so it is still there after a reconnect or a map change. Optionally the view punch (the small camera kick when you are hit) can be cleared too for the players who turned shakes off. Requirements ReHLDS, ReGameDLL_CS, Metamod-r and ReAPI with RegisterMessage (ReAPI 5.29 is fine)AMX Mod X 1.10 or newer with the nvault module (it ships with AMX Mod X)Tested on ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814, ReAPI 5.29.0.358 and AMX Mod X 1.10.0.5490 Install Compile scripting/olds_noshake.sma with amxxpc 1.10 and copy olds_noshake.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and reapi_*.inc) in addons/amxmodx/scripting/include/.Copy data/lang/olds_noshake.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_noshake.cfg to addons/amxmodx/configs/plugins/.Add olds_noshake.amxx to addons/amxmodx/configs/plugins.ini. Commands /noshake (say or say_team) turns screen shakes off for you, or back on. The command itself is not shown in chat; a chat line tells you the new state. Settings (addons/amxmodx/configs/plugins/olds_noshake.cfg) olds_noshake_enable 1 1 = players can turn shakes off, 0 = every shake is sent as usual and /noshake only says so olds_noshake_punch 0 1 = also clear the view punch from damage for the players who turned shakes off olds_noshake_default 0 1 = shakes start off for players who never typed /noshake, 0 = they start on How it works Every ScreenShake message is checked before it is sent. One sent to a player who turned shakes off is dropped. One sent to everyone at once is dropped and sent again to each player who still wants shakes.The check runs in AMX Mod X's register_message hook, which sees the game's own shakes and those other plugins send with emessage_begin, and again in ReAPI's engine message hook (RegisterMessage), which also sees the shakes other plugins send with message_begin. AMX Mod X's own hook never sees those, so without the second check they would get through.With olds_noshake_punch 1 the view punch is set back to zero right after the game applies the damage, so health and damage are not changed.On ReGameDLL a plain HE grenade sends no screen shake at all, so there is nothing to remove there; HE shakes that some servers have come from plugins and are removed like any other plugin shake.Choices are saved in addons/amxmodx/data/vault/olds_noshake.vault by SteamID. Players without a real SteamID (bots, STEAM_ID_LAN, HLTV) keep their choice only until they leave. Files No sounds, models or sprites; nothing is downloaded by players. Texts are in data/lang/olds_noshake.txt (English). Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card IDEA-53980C084ACF0E61, after an idea seen on goldsrc.ru (resources/277). Licence: GPL-3.0-or-later. 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_noshake.sma, test/olds_noshake_test.sma License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (IDEA-53980C084ACF0E61), by alexit and checked by the automated Claude review.
-
Block Fire-in-the-Hole Radio
Suppresses the automatic Fire in the Hole voice and text radio message when a grenade is thrown. Block Fire-in-the-Hole Radio 1.0.0 (olds.ro) When a player throws a HE grenade, a flashbang or a smoke grenade, the game makes him shout "Fire in the hole!" on the team radio: a voice line and a chat line for every teammate. This plugin drops both, for players and bots alike. Every other radio message (Go go go, Roger that, Need backup, ...) still plays as normal. Works for all three grenades.With olds_nf_admins_hear 1, admins (any access flag besides the default "z") still hear and see the grenade radio; everyone else does not.olds_nf_enable 0 turns the plugin off without unloading it.The plugin shows no text and has no language file. Requirements AMX Mod X 1.10.0.5490 or newerCounter-Strike 1.6 (written for ReHLDS, ReGameDLL_CS and Metamod-r; it uses no ReAPI function and also works with the stock game) Install Compile scripting/olds_nofireinhole.sma and copy olds_nofireinhole.amxx to addons/amxmodx/plugins/.Copy configs/plugins/olds_nofireinhole.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_nofireinhole.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_nofireinhole.cfg) olds_nf_enable 1 1 = drop the Fire in the hole radio (voice and text); 0 = the game's normal radio olds_nf_admins_hear 0 1 = admins still hear and see it Commands None. How it works The game sends the radio as two messages to each teammate: a TextMsg chat line (#Game_radio ... #Fire_in_the_hole) and a SendAudio voice line (%!MRAD_FIREINHOLE). The plugin hooks both with register_message and blocks only those two, so nothing else changes. 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-0105. Licence: GNU General Public License v3.0 or later (GPL-3.0-or-later). 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_nofireinhole.sma, test/lib0105_probe.sma License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (LIB-0105), by alexit and checked by the automated Claude review.
-
Cue Profiles
Give players one preference for text, sound, or both across participating olds.ro plugins. Cue Profiles 1.0.0 (olds.ro) One setting per player for how olds.ro plugins give their cues: as text, as sound, or both. Some players play without sound, others do not read chat in a fight; with Cue Profiles each player picks what works for them, once, and every participating plugin follows it. A player types /cues in chat to cycle text -> sound -> both. The choice is saved by Steam ID, so it is back on the next visit. For server owners Install it once. Plugins that support Cue Profiles (they say so in their README) then follow each player's choice. Plugins that do not support it are not affected. For plugin authors Include scripting/include/olds_cues.inc and: new cue = olds_cue_register("my_beep", "buttons/blip1"); // in plugin_init olds_cue_play(id, cue, "Bomb planted at %s", site); // when it happens The setting is applied like this: text only: the text is shown, the sound is not played;sound only: the sound is played; a cue without a registered sound still shows its text, so nothing is lost;both: text and sound. A cue given without text has no text equivalent and always plays its sound. olds_cue_get_mode(id) returns 0 text, 1 sound, 2 both. A custom sound must be precached by your own plugin. Requirements AMX Mod X 1.10 or newer with the nvault module (ships with AMX Mod X)No ReAPI neededTested on AMX Mod X 1.10.0.5490, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814 Install Compile scripting/olds_cueprofile.sma with amxxpc 1.10 and copy olds_cueprofile.amxx to addons/amxmodx/plugins/.Copy scripting/include/olds_cues.inc to addons/amxmodx/scripting/include/ (only needed to compile plugins that use it).Copy data/lang/olds_cueprofile.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_cueprofile.cfg to addons/amxmodx/configs/plugins/.Add olds_cueprofile.amxx to addons/amxmodx/configs/plugins.ini, above the plugins that use it. Commands /cues (chat or team chat) cycles your setting: text -> sound -> both Settings (addons/amxmodx/configs/plugins/olds_cueprofile.cfg) olds_cueprofile_default 2 setting for players without a saved choice: 0 = text, 1 = sound, 2 = both Notes Players without a lasting Steam ID (bots, LAN or pending IDs) keep their choice until they leave.If the vault file (data/vault/olds_cueprofile.vault) is damaged or cannot be opened, every choice lasts until the player leaves, one line in the AMX Mod X log says so when the map starts, and the damaged file is left untouched so you can look at it or delete it.A player who joins in a slot that someone just left starts from the default, never from the previous player's choice. No sounds, models or sprites are added. Texts are in data/lang/olds_cueprofile.txt (English). Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card AMX-083. Licence: GPL-3.0-or-later. 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/include/olds_cues.inc, addons/amxmodx/scripting/olds_cueprofile.sma, test/olds_cueprofile_testcue.sma License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (AMX-083), by alexit and checked by the automated Claude review.
-
Custom Game Description
Replaces the game name shown in the server browser, for example Counter-Strike with the server's own name. Custom Game Description 1.0.0 (olds.ro) Replaces the game name that the server browser shows for your server ("Counter-Strike") with your own text, for example "olds.ro CS 1.6". HLSW, GameTracker and other query tools read the same text from the server info. Requirements AMX Mod X 1.10 or newer with the fakemeta module (part of AMX Mod X; ReAPI is not needed)Tested on AMX Mod X 1.10.0.5490, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814 Install Compile scripting/olds_gamename.sma with amxxpc 1.10 and copy olds_gamename.amxx to addons/amxmodx/plugins/.Copy configs/plugins/olds_gamename.cfg to addons/amxmodx/configs/plugins/ (if you skip this, the plugin writes the same file with the default on its first start).Add olds_gamename.amxx to addons/amxmodx/configs/plugins.ini.Set your name in olds_gamename.cfg and change the map. Settings (addons/amxmodx/configs/plugins/olds_gamename.cfg) olds_gamename "olds.ro CS 1.6" the game name in the server list; empty ("") = the game's own name The name is read at every map start, after server.cfg, amxx.cfg, the plugin configs and the per-map configs have run. A change made during a map shows from the next map on. Until the new map's configs have run (the first seconds of a map) the server keeps the name of the last map.The server info has room for 31 bytes. A longer name is cut to 31 bytes and the AMX Mod X log says so, for example: olds_gamename is 58 bytes long; the server list has room for 31, so it shows "This name is far too long for t". Accented and other non-English letters take 2 bytes or more in UTF-8; the cut never splits such a letter, so the name can end up a little shorter.Spaces at the start and the end and control characters (tabs, line breaks) are removed. No commands, player messages, sounds, models or sprites are used, so there is no language file. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-1522. Licence: GNU GPL version 3 or later (GPL-3.0-or-later). 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_gamename.sma, test/olds_gamename_test.sma License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (LIB-1522), by alexit and checked by the automated Claude review.
-
Double Kill Reward
For a short bonus window every kill counts double for frags and money. The window opens on a trigger such as the first kill, and the HUD shows the timer. Double Kill Reward 1.0.0 (olds.ro) For a short window in each round every kill counts double: the killer gets one extra frag and some extra money on top of the game's own reward. The window opens when the round starts or with the round's first kill, and a HUD line shows everyone how many seconds are left. olds_dk_start 1: the window opens when the freeze time ends. olds_dk_start 2: it opens with the round's first kill on an enemy (that kill itself counts once).The window lasts olds_dk_time seconds (20). A HUD timer at the top of the screen counts down and disappears when it closes.Each kill on an enemy in the window gives +1 frag (the scoreboard shows it at once) and olds_dk_money extra money (300), with a bell sound and a chat line for the killer.With olds_dk_headshot 1 only headshot kills count double; body kills count as normal.A team kill gets no bonus, and the game's own team-kill penalty applies as usual.The window opens at most once per round. A new round shuts it and clears the HUD, then it opens again as olds_dk_start says.Money never goes above mp_maxmoney (16000 by default).With mp_freeforall 1 (ReGameDLL_CS) every other player is an enemy. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer, with the cstrike and fun modules (enabled by default) Install Compile scripting/olds_doublekill.sma and copy olds_doublekill.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_doublekill.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_doublekill.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_doublekill.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_doublekill.cfg) olds_dk_start 1 1 = the window opens when the round starts; 2 = it opens with the round's first kill olds_dk_time 20 seconds the window stays open olds_dk_money 300 extra money for a kill in the window olds_dk_headshot 0 1 = only headshot kills count double Commands None. Texts The chat lines and the HUD timer ("DOUBLE KILLS: 15 s", HUD channel 2) are in data/lang/olds_doublekill.txt and can be translated there. The sound is the game's own buttons/bell1.wav, so nothing is downloaded. 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-0222. Licence: GNU General Public License v3.0 or later (GPL-3.0-or-later). 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_doublekill.sma, test/lib0222_probe.sma License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (LIB-0222), by alexit and checked by the automated Claude review.
-
Ammo Purchase Command
A buy command that tops up ammo for the held weapon at a configurable price. Ammo Purchase Command 1.0.0 (olds.ro) A buy command that fills up the backpack ammo of the gun in the player's hands, for a price set per weapon class. /buyammo (or amx_buyammo from the console) fills the backpack of the gun in hand up to the game's limit (90 for an AK-47, 35 for a Desert Eagle, and so on).The price depends on the weapon class and is set in configs/olds_ammoprices.ini (pistol 200, shotgun 300, smg 300, rifle 400, sniper 500, machinegun 600 by default). A class that is not listed costs olds_ba_price.With olds_ba_free_pistol 1, pistol ammo is free.With olds_ba_buytime 1, ammo can be bought only during the buy time (mp_buytime).Refused, with a chat line and no money taken: holding the knife, a grenade or the bomb; a full backpack (the player is told so); not enough money (the price is shown); after the buy time; dead. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer, with the cstrike module (enabled by default) Install Compile scripting/olds_buyammo.sma and copy olds_buyammo.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_buyammo.txt to addons/amxmodx/data/lang/.Copy configs/olds_ammoprices.ini to addons/amxmodx/configs/ and set the prices you want.Copy configs/plugins/olds_buyammo.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_buyammo.amxx to addons/amxmodx/configs/plugins.ini. Prices (addons/amxmodx/configs/olds_ammoprices.ini) One "class price" pair per line; lines starting with ; # or // are comments. Classes: pistol, shotgun, smg, rifle, sniper, machinegun. The file is read when the map starts. Settings (addons/amxmodx/configs/plugins/olds_buyammo.cfg) olds_ba_price 400 price for a weapon class that is not in olds_ammoprices.ini olds_ba_buytime 1 1 = only during the buy time; 0 = any time olds_ba_free_pistol 0 1 = pistol ammo is free The buy time is the server's own mp_buytime (minutes; -1 = no limit). Commands say /buyammo, say_team /buyammo fill up the ammo of the gun in hand amx_buyammo the same from the console or a key (bind x amx_buyammo) Chat text "[Ammo] Ammo filled up for $400." and the refusal lines are in data/lang/olds_buyammo.txt and can be translated there. The sound is the game's own items/gunpickup2.wav, so nothing is downloaded. 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-0075. Licence: GNU General Public License v3.0 or later (GPL-3.0-or-later). 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_buyammo.sma, test/lib0075_probe.sma License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (LIB-0075), by alexit and checked by the automated Claude review.