Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Armoury Item Randomizer

Featured Replies

  • Administrator

Randomises the weapons that spawn in armoury entities each round, and lets admins edit which items can appear.

Armoury Item Randomizer (olds.ro) 1.0.0 Copyright (C) 2026 daemon (olds.ro). Licence: GPL-3.0-or-later.

Changes the items lying in the map's armoury entities every round.

  • Each round (RG_CSGameRules_RestartRound) every armoury_entity rolls olds_arm_chance: on success it gets a random enabled item, otherwise the map's own item. The item (m_iItem), its stock world model and the count are set again.
  • olds_arm_chance 100 percent chance per armoury per round (0 keeps the map's items)
  • olds_arm_keepcount 1 1 keeps the map's count, 0 puts one item
  • The pool is configs/armoury.ini, one "<item> <1|0>" line per item. Items: mp5navy tmp p90 mac10 ak47 sg552 m4a1 aug scout g3sg1 awp m3 xm1014 m249 flashbang hegrenade kevlar assaultsuit smokegrenade. Unknown lines are ignored (printed in the server console).
  • amx_armoury (ADMIN_CFG): a menu that turns items on and off (saved to armoury.ini, used from the next round). In the console: amx_armoury <item> <0|1>, or no argument to list.
  • Maps without armoury entities are left alone and nothing is logged.

Install: compile scripting/olds_armoury.sma with amxxpc 1.10 (needs ReAPI), add olds_armoury.amxx to plugins.ini and copy configs/armoury.ini.

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_armoury.sma, test/arm_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 (LIB-1013).

Armoury Item Randomizer
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads4.3 KBUpdated 8 hours ago
Sign in to download
Pawn (AMX Mod X) · 275 lines
/*
 * Armoury Item Randomizer (olds.ro)
 * 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) any later version.
Show all 275 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.