Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Supply Draft

Featured Replies

  • Administrator

Have survivors choose one team supply reward during preparation.

Supply Draft (olds.ro workshop card AMX-063) - Zombie Plague 5.0 add-on Copyright (C) 2026 daemon (olds.ro). GPL-3.0-or-later.

While a round prepares (from the new round until Zombie Plague starts the game mode), the living humans vote between two team supplies in a menu that opens by itself; /supply opens it again to change the vote (only the last choice counts). The vote closes after olds_supplydraft_secs seconds or when the mode starts. When the mode starts (zp_fw_gamemodes_start) the winning supply is handed once to every living human through the shop (zp_items_force_buy, free).

  • The two supplies are the first two names in configs/olds_supplydraft.ini that the shop knows (zp_items_get_id); names it does not know are skipped.
  • One vote per living human; zombies and spectators do not vote.
  • A tie goes to the first supply in odd rounds and to the second in even rounds (rounds are counted from the map start, void ones included).
  • Nobody voting means no supply.
  • A preparation that ends before the mode starts (sv_restart, a new round, the round ending) is void: the votes are dropped and nothing is given.

Cvar: olds_supplydraft_secs 15 (3-120), in configs/plugins/olds_supplydraft.cfg. Admin: amx_supplydraft (ADMIN_KICK) shows the draft.

Needs Zombie Plague 5.0 (libraries zp50_core and zp50_items). Install scripting/olds_supplydraft.sma (compile with amxxpc 1.10), add olds_supplydraft.amxx to plugins-zplague.ini after the ZP plugins, copy configs/olds_supplydraft.ini and data/lang/olds_supplydraft.txt. No downloads: the vote is an AMXX menu and the results are chat text.

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_supplydraft.sma, test/zp_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-063).

Supply Draft
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine HLDS, ReHLDSNeeds ReAPI NoMetamod Metamod-R0 downloads5.6 KBUpdated 6 hours ago
Sign in to download
Pawn (AMX Mod X) · 372 lines
/*
 * Supply Draft (olds.ro) - Zombie Plague 5.0 add-on. While a round prepares
 * (from the new round until the game mode starts), the humans vote between
 * two team supplies; when the mode starts the winner is handed to every
 * living human once, through the shop's zp_items_force_buy().
 *
 * Copyright (C) 2026 daemon (olds.ro), written by daemon's plugin agent
Show all 372 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.