Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Lineup Partners

Featured Replies

  • Administrator

Pair inmates for one warden activity using readable matching tokens.

Lineup Partners 1.0.0 (olds.ro)

Jailbreak: the warden says /pairs and the living prisoners are paired at random for an activity. Each pair gets one readable token such as RED-LAMP, so partners can find each other by calling it out. With an odd number, one prisoner is "waiting". Each prisoner is told privately in chat and on screen; /partner repeats it to them alone.

Requirements

  • ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  • AMX Mod X 1.10.0.5490 or newer
  • The Jailbreak core "[JB] Core" (library "jailbreak", github.com/al1k24/JailBreak-ReAPI), which provides jb_get_simon_id()

Install

  • Compile scripting/olds_pairs.sma and copy olds_pairs.amxx to addons/amxmodx/plugins/, below the Jailbreak core in plugins.ini. The compiler needs ReAPI's include files next to the stock includes.
  • Copy data/lang/olds_pairs.txt to addons/amxmodx/data/lang/.
  • Copy configs/olds_pairs.txt to addons/amxmodx/configs/ and edit the tokens if you like.

Use

  say /pairs            warden only: pair the living prisoners now; saying it
                        again makes new pairs
  say /partner          your token and your partner (only you see it)
  olds_pairs_status     the current lineup (ADMIN_CFG)

Settings (addons/amxmodx/configs/plugins/olds_pairs.cfg, created on first run)

  olds_pairs_max 24     most prisoners in one lineup (2-32); extra prisoners
                        are left out and told they are not in it

Details

  • The warden is whoever jb_get_simon_id() names; anyone else is refused with a warden-only message. Prisoners are the living terrorists.
  • Seven prisoners make three pairs, and one prisoner is waiting.
  • Tokens come from configs/olds_pairs.txt (letters, digits and '-', up to 23 characters); each pair gets a different one. If the file has too few, PAIR-1, PAIR-2... are used.
  • The lineup is cleared when another player becomes warden (checked every second) and at every round restart. A prisoner whose partner dies or leaves is told they are now waiting.

No downloads: tokens appear in chat and a DHUD line.

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_pairs.sma, test/jb_stub.sma

Idea: olds.ro workshop library · 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 (AMX-068).

Lineup Partners
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads5.3 KBUpdated 11 hours ago
Sign in to download
Pawn (AMX Mod X) · 327 lines
/*
 * Lineup Partners (olds.ro workshop card AMX-068)
 *
 * Jailbreak: the warden says /pairs and the living prisoners are paired at
 * random for an activity. Each pair gets one readable token such as
 * RED-LAMP, so partners can find each other by calling it out. With an odd
 * number, one prisoner is "waiting". Each prisoner is told privately (chat
Show all 327 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.