I wrote a plugin that simulate buyzone on maps that don't have it, simply with this you can buy weapons on maps such as de_lake, de_bank de_safehouse etc.
- Make sure you have installed SDKHooks extensions
- Download & put buyzonesimulator.smx into plugins folder
Plugin will start on maps without BuyZone.
sm_bzsimulator - Buyzone simulator state control. 0 - Disabled, 1 - Enabled on maps without buyzone, 2 - Enabled on all maps , default 1.
sm_bzsimulator_range - Simulated buyzone range, default 20.0, 0 = unlimited.
- Plugin will create personal buyzone for each player every spawn, buyzone has limited range.
- If you want to reload plugin, do this twice or manually unload and load it, changes will take effect on new round.
- After mp_buytime, plugin will disable hooks and players will be unable to buy until next round
Plugin will work only on maps without buyzone
- Plugin can try
to prevent showing buy menu when USE key is pressed in buyzone range, but for that BLOCK_USEBUY compile switch must be set to 1 or 2. 1 = block on simulated buyzones, 2 = block on all. Version compiled with BLOCK_USEBUY 2 is attached in SECOND
Feedback always welcome.
You can test it on my server (below, first one )