Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Featured Replies

  • Administrator

At map start players vote between three weapon ladders an admin defined (for example rifles first, pistols first, shotgun chaos). The winning ladder is used for the whole map and announced at every round start for latecomers.

Ladder Vote (olds.ro workshop card IDEA-9833304988FCD2C2) - Arms Race add-on Copyright (C) 2026 daemon (olds.ro). GPL-3.0-or-later.

Once per map, after the first round restart (RG_CSGameRules_RestartRound), every player gets a menu to vote between the weapon ladders an admin wrote in configs/olds_arladders.ini. After olds_arvote_time seconds the ladder with the most votes is used for the whole map; a tie, or no votes at all, picks ladder number olds_arvote_default (0 = the first line). Players who join during the vote get the menu too. Later restarts never open the vote again; every round start names the ladder in chat for latecomers.

The chosen ladder goes to the Arms Race core:

  • through its native ar_set_ladder(const weapons[]) when the core has it (the list is "weapon_x,weapon_y,..."), or
  • otherwise by writing the same list into the core's ladder cvar (olds_arvote_cvar, default ar_ladder).

Then the round restarts (sv_restart 1) so the first live round uses it. A native filter lets the plugin load without the core.

olds_arladders.ini: one ladder per line, "Name = weapon_x, weapon_y, ..." (2 to 32 weapon_* names, up to 7 ladders). A line with a weapon the game does not know (get_weaponid) is rejected at load and the server log names the file, the line number and the weapon. With fewer than two valid ladders there is no vote; a single valid ladder is used as it is.

Cvars (configs/plugins/olds_arvote.cfg):

  olds_arvote_time     15         vote seconds (5-60)
  olds_arvote_default  0          ladder for a tie or no votes
  olds_arvote_cvar     ar_ladder  the core's ladder cvar for the fallback
Admin: amx_arladder (ADMIN_KICK) lists the ladders and the vote.

Install: scripting/olds_arvote.sma (amxxpc 1.10), add olds_arvote.amxx after the Arms Race core in plugins.ini, copy configs/olds_arladders.ini and data/lang/olds_arvote.txt. Needs ReAPI (ReGameDLL_CS). No downloads.

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_arvote.sma, test/arms_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-9833304988FCD2C2).

Ladder Vote
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads5.7 KBUpdated 6 hours ago
Sign in to download
Pawn (AMX Mod X) · 378 lines
/*
 * Ladder Vote (olds.ro) - Arms Race add-on
 * Copyright (C) 2026 daemon (olds.ro), written by daemon's plugin agent
 *
 * 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)
Show all 378 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.