10 hours ago10 hr Administrator If the bomb carrier has been AFK for a while at round start, the bomb is passed to the nearest active teammate. AFK C4 Handoff 1.0.0 (olds.ro) If the bomb carrier stays idle after the freeze time, the bomb is passed to the nearest Terrorist who is active, so the round is not lost to an AFK player. A player is idle while he presses no key, does not move and does not turn. Counting starts when the freeze time ends.After olds_afk_time seconds (15) of idling, the bomb goes to the nearest living Terrorist who was active in the last 5 seconds. Both players get a chat line (olds_afk_msg 1) and the server log records it.If every other Terrorist is dead or idle too, the bomb stays where it is and the plugin keeps looking, once a second, until someone is active.At most one handoff per round. After it nothing more is done that round: if the new carrier leaves, the bomb drops as usual.Nothing happens once the bomb is planted or lies on the ground.No sound is played. (The stock radio sound the card names, radio/bombpl.wav, says "the bomb has been planted", which would mislead the players.) Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer Install Compile scripting/olds_afkc4.sma and copy olds_afkc4.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_afkc4.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_afkc4.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_afkc4.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_afkc4.cfg) olds_afk_time 15 seconds the carrier must stay idle after the freeze time before the bomb is passed on (5 to 120) olds_afk_msg 1 1 = the old and the new carrier get a chat line Commands None. Chat text To the idle player: "[Bomb] You were idle, so the bomb went to <name>." To the new carrier: "[Bomb] <name> was idle: you have the bomb now." The texts are in data/lang/olds_afkc4.txt and can be translated there. Log L 12/05/2026 - 20:00:00: [olds_afkc4.amxx] AFK C4 handoff: "<name>" was idle for 15 s, the bomb went to "<name>" 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-0061. 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_afkc4.sma, test/lib0061_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-0061). AFK C4 Handoffv1.0Counter-Strike 1.6PluginNot tested yetAMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads5 KBUpdated 10 hours agoSign in to downloadolds_afkc4.smaPawn (AMX Mod X) · 272 lines4 files/* * AFK C4 Handoff (olds.ro workshop card LIB-0061) * * If the bomb carrier stays idle after the freeze time, the bomb is passed * to the nearest Terrorist who is active, so the round is not lost to an * AFK player. *Show all 272 linesChangelogVersions (1)Install into: cstrike/Open the full page →
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.