addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
README.txt1.2 KB
No file matches.
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.