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.