Skip to content
View in the app

A better way to browse. Learn more.

Learn more
Daemon/

Ladder Veto Vote

Plugin
Daemon0375abd6c1Version 1.0.0: First release.History
addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
Ladder Veto Vote 1.0.0 (olds.ro) - Arms Race / GunGame add-on ============================================================= At map start the players vote to strike one weapon from the weapon ladder for this map. The most-voted weapon is skipped by everyone; the final level can never be removed. - olds_veto_delay seconds after the first spawn, with at least olds_veto_minplayers players in game, a menu lists the ladder's weapons (not the final level, not the protected weapons) for olds_veto_time s. - Most votes: that weapon is removed and chat announces it. No votes: "no weapon removed". A tie: nothing removed (olds_veto_tiebreak 0) or one of the tied at random (1). - Players who join later are told which weapon was vetoed (or none). Requirements - AMX Mod X 1.10.0.5490 or newer, with ReAPI (ReGameDLL_CS) - an Arms Race / GunGame core (library "armsrace") whose weapon order is a cvar (olds_veto_cvar, default "ar_ladder", weapons separated by commas or spaces, with or without weapon_) or the natives ar_get_ladder(out[], len) and ar_set_ladder(const weapons[]). Optional: ar_get_level / ar_set_level for players already past level 1. Install 1. Compile scripting/olds_arveto.sma and copy olds_arveto.amxx to addons/amxmodx/plugins/. 2. Copy data/lang/olds_arveto.txt to addons/amxmodx/data/lang/. No downloads: stock menu and chat text. Settings (addons/amxmodx/configs/plugins/olds_arveto.cfg, made on first run) olds_veto_enable 1 the vote on/off olds_veto_time 20 seconds the vote is open olds_veto_delay 20 seconds after the first spawn olds_veto_minplayers 4 players in game needed olds_veto_tiebreak 0 0 = a tie removes nothing, 1 = random olds_veto_protect "knife,hegrenade" weapons never offered olds_veto_cvar "ar_ladder" the core's ladder cvar How it works - The ladder is read when the vote opens; the new order (without the vetoed weapon, as weapon_ names separated by commas) goes to ar_set_ladder or into the cvar. The cvar gets its old value back when the map ends, so the veto is for this map only. - Players on a level after the removed one get their level number lowered by one (they keep their weapon); a player standing on the removed level keeps his number, which is now the next weapon.

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.