Welcome Guest, Not a member yet? Create Account  
Shop (VIP/ADMIN/S.ADMIN/XP)


Buy Zone v1.3

#1

Buy Zone

Description
This plugin gives full control over buy zones in Counter-Strike 1.6.
You can create, remove and toggle their status during gameplay.
Custom setups are saved per map and automatically loaded on every map start.
  • Create and remove custom Buy Zones during gameplay
  • Toggle Buy Zone activation status individually or all at once
  • Independent axis scaling (Height, Width, Depth) with factor control
  • Per-zone configuration: each zone has its own flags, team, radar, icon, activation chance, delay, duration and cooldown
  • Delayed and cyclic activation with random ranges per zone
  • Team access configurable for Terrorists, CTs, both teams or disabled
  • Radar visibility configurable for Terrorists, CTs, both teams or disabled
  • Works on every map and mode
  • Noclip support for easier placement
  • Requires AMX Mod X 1.9.0+

Commands
  • say /bz -- Opens the Buy Zone menu.
  • say_team /bz -- Opens the Buy Zone menu.
  • say /buyzone -- Opens the Buy Zone menu.
  • say_team /buyzone -- Opens the Buy Zone menu.
  • bz_reload -- Reloads the configuration file.
  • buyzone_reload -- Reloads the configuration file.

Configuration
Code:
# [Main Settings]
# SETTING_BUY_LOAD                = Whether to load saved Buy Zones data of the current map
# SETTING_BUY_DEFAULT            = Whether to allow buying from default Buy Zones
# SETTING_OFFSET                  = Minimum - Maximum offset from the player to the Buy Zone
# SETTING_SIZE_HEIGHT            = Minimum - Maximum height of the Buy Zone box
# SETTING_SIZE_WIDTH              = Minimum - Maximum width of the Buy Zone box
# SETTING_SIZE_DEPTH              = Minimum - Maximum depth of the Buy Zone box
# SETTING_COLOR_ACTIVE            = RGB color when Buy Zone is active
# SETTING_COLOR_INACTIVE          = RGB color when Buy Zone is inactive

# Per-zone settings (defined under each [Zone Name] section):
# BUY_FLAGS          = a - Radar    b - Icon    c - Active Delay
# BUY_TEAM            = 0 - None, 1 - Terrorists Only, 2 - CT Only, 3 - Both Teams
# BUY_RADAR          = 0 - Disabled, 1 - Terrorists Only, 2 - CT Only, 3 - Both Teams
# BUY_ACTIVE_CHANCE  = Probability the zone activates each round (0.0 = never, 1.0 = always)
# BUY_ACTIVE_DELAY    = Random delay before the zone goes active  (requires flag c)
# BUY_ACTIVE_DURATION = How long the zone stays active            (requires flag c)
# BUY_ACTIVE_COOLDOWN = Cooldown before the zone can reactivate  (requires flag c)
# BUY_ICON_SPRITE    = Path to the zone's icon sprite
# BUY_ICON_SCALE      = Icon scale
# BUY_ICON_ALPHA      = Icon transparency (0 - 255)

Changelog
Code:
* v1.0: Initial release.
* v1.1: Added independent axis scaling, mode toggle (Add/Remove), and factor control for precise box resizing. Added noclip for players placing buy zones for easier positioning.
* v1.2: Bug fixes and config improvements.
* v1.3: Added per-Buy Zone configuration. Each zone now has its own flags, team, radar, icon, activation chance, delay, duration and cooldown.



Download
Buy Zone v1.3
Reply




Users browsing this thread:
1 Guest(s)