6 hours ago6 hr Administrator During a captain draft each pick has a visible countdown. If a captain lets it run out, the player who has waited longest is picked for them automatically, so drafts never stall because a captain went AFK. Captain Pick Clock (olds.ro workshop idea IDEA-C851217B818E1B1E) Copyright (C) 2026 daemon (olds.ro). GPL-3.0-or-later. An add-on for a captain draft: each pick turn has a visible countdown, and a captain who lets it run out gets the player who has waited longest, so a draft never stalls on an AFK captain. Every pick turn starts a fresh clock of olds_cappick_time seconds. The HUD line "<captain> is picking: N s" is shown each second to both captains and to the spectators / pool players.At olds_cappick_warn seconds left they hear buttons/blip2 (stock) once.A pick in time stops the clock at once.On timeout the unpicked player with the earliest join time (get_systime at client_putinserver; same second: who joined first) is picked for that captain and everyone is told in chat.When the draft ends (last pick, or stopped) the clock and its HUD are cleared. The draft core: this plugin needs a core that offers the API in scripting/include/olds_captain_draft.inc (library "olds_captain"): native olds_cap_pick(captain, player), native olds_cap_in_pool(id), forwards olds_cap_pick_turn(captain, team), olds_cap_picked(captain, player), olds_cap_draft_end(). A core with its own pick timer should set that timer longer than olds_cappick_time (or switch it off). Without a core the plugin loads and stays idle (logged once). Cvars (configs/plugins/olds_cappick.cfg): olds_cappick_time 20 (3-120), olds_cappick_warn 5 (0 = no beep). Admin: amx_cappick_status (ADMIN_RCON). Install: compile scripting/olds_cappick.sma with amxxpc 1.10 (with include/olds_captain_draft.inc), add olds_cappick.amxx to plugins.ini after the draft core, copy data/lang/olds_cappick.txt. Needs ReAPI. No downloads. 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_captain_draft.inc, addons/amxmodx/scripting/olds_cappick.sma, test/core_stub.sma Idea: daemon · Plugin: daemon · 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-C851217B818E1B1E). Captain Pick Clockv1.0.0Counter-Strike 1.6PluginNot tested yetAMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads4.6 KBUpdated 6 hours agoSign in to downloadolds_cappick.smaPawn (AMX Mod X) · 233 lines4 files/* * Captain Pick Clock (olds.ro workshop idea IDEA-C851217B818E1B1E) * Copyright (C) 2026 daemon (olds.ro) * * This program is free software: you can redistribute it and/or modify it under the terms * of the GNU General Public License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later version.Show all 233 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.