Raised This Month: $32 Target: $400
 8% 

[CS:GO] BuyZone Simulator


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
KawMAN
SourceMod Donor
Join Date: Sep 2007
Location: Cracov
Plugin ID:
3221
Plugin Version:
1.2.1
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Enable buyzones on maps that don't have them
    Old 09-07-2012 , 00:05   [CS:GO] BuyZone Simulator
    Reply With Quote #1

    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
    Feedback always welcome.

    You can test it on my server (below, first one )
    Attached Files
    File Type: sp Get Plugin or Get Source (buyzonesimulator.sp - 1441 views - 8.9 KB)
    File Type: smx buyzonesimulator.smx (6.6 KB, 1568 views)
    __________________

    Last edited by KawMAN; 09-20-2012 at 16:35. Reason: update - ready to review
    KawMAN is offline
    Send a message via ICQ to KawMAN Send a message via Skype™ to KawMAN
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 20:24.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode