[CS:GO] BuyZone Simulator

Post Reply
User avatar
Andreeas
Hero Member
Hero Member
Posts: 601
Joined: Wed Jan 22, 2020 8:17 pm
Jucator SA:MP ?: Nu
Nick:: Andreeas
Jucator CS ?: Nu

[CS:GO] BuyZone Simulator

Post by Andreeas »

Hi,
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.

Installation:
- Make sure you have installed SDKHooks extensions
- Download & put buyzonesimulator.smx into plugins folder
Plugin will start on maps without BuyZone.

Cvars:
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.

Notes:
- 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 post (buyzonesimulator.smx)

Screenshots:
http://steamcommunity.com/sharedfile...&insideModal=0
http://steamcommunity.com/sharedfile...&insideModal=0
http://steamcommunity.com/sharedfile...&insideModal=0


Plugin / Source
buyzonesimulator.smx
Post Reply

Return to “Gameplay”