Raised This Month: $82 Target: $400
 20% 

[CS:GO] BuyZone Protect


Post New Thread Reply   
 
Thread Tools Display Modes
Author
SpicyGamers
Member
Join Date: Feb 2017
Location: Bragança
Plugin ID:
5599
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A simple protection when you enter Buyzone
    Old 04-14-2017 , 04:50   [CS:GO] BuyZone Protect
    Reply With Quote #1

    Hey, I made a plugin that was very requested by the players of my community, and I decided to do it that simply gives a protection when you're inside buyzone, and you're buying it. I made this plugin thinking about my Surf Server.

    This plugin goes into action as long as you use the event enter_buyzone & exit_buyzone

    Games that work:
    Counter Strike: Global Offensive (tested) -

    For compile use ColorVariables:If you want to use this BuyZone Protect plugin on certain maps, use thisCredits: Hallucinogenic Troll

    (Sorry for my Bad English)
    Attached Files
    File Type: smx BuyZone_protect.smx (4.3 KB, 496 views)
    File Type: sp Get Plugin or Get Source (BuyZone_protect.sp - 1123 views - 1.3 KB)
    __________________
    Check My Community www.SpicyGamers.com

    Last edited by SpicyGamers; 04-14-2017 at 10:33. Reason: credits
    SpicyGamers is offline
    zipcore
    Veteran Member
    Join Date: Mar 2010
    Location: m_flZipcore
    Old 04-19-2017 , 07:51   Re: [CS:GO] BuyZone Protect
    Reply With Quote #2

    This plugin can conflict with other plugins using m_takedamage
    But you could use m_bInBuyZone inside a player_hurt event for example
    __________________
    zipcore is offline
    paulo_crash
    AlliedModders Donor
    Join Date: May 2016
    Location: Brazil
    Old 07-02-2018 , 22:22   Re: [CS:GO] BuyZone Protect
    Reply With Quote #3

    The plugin itself is a great idea, but in my server has the following problem, who is outside of BuyZone can kill that is inside it and the same thing to the contrary, only works if both are in BuyZone, there are protected, and there sometimes they still fail and they can kill themselves.
    __________________
    paulo_crash is offline
    paulo_crash
    AlliedModders Donor
    Join Date: May 2016
    Location: Brazil
    Old 07-02-2018 , 22:49   Re: [CS:GO] BuyZone Protect
    Reply With Quote #4

    Quote:
    Originally Posted by zipcore View Post
    This plugin can conflict with other plugins using m_takedamage
    But you could use m_bInBuyZone inside a player_hurt event for example
    Could you explain this better?

    In the case it is said to replace the "m_takedamage" command for "m_bInBuyZone" and that's it.

    Or would I have to make some more modifications to work, related to this player_hurt?
    __________________
    paulo_crash is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 07-02-2018 , 23:16   Re: [CS:GO] BuyZone Protect
    Reply With Quote #5

    Quote:
    Originally Posted by paulo_crash View Post
    The plugin itself is a great idea, but in my server has the following problem, who is outside of BuyZone can kill that is inside it and the same thing to the contrary, only works if both are in BuyZone, there are protected, and there sometimes they still fail and they can kill themselves.
    Try this.
    Attached Files
    File Type: zip franug buyzone protect.zip (4.9 KB, 191 views)
    __________________
    Veteran SourceMod Coder -> Activity channel
    Taking paid and free jobs.
    Contact: Steam, Telegram or discord ( Franc1sco#7876 ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    paulo_crash
    AlliedModders Donor
    Join Date: May 2016
    Location: Brazil
    Old 07-02-2018 , 23:21   Re: [CS:GO] BuyZone Protect
    Reply With Quote #6

    Quote:
    Originally Posted by Franc1sco View Post
    Try this.
    Thanks, I'll be testing and returning with the result...

    [EDIT]
    Worked, thank you!
    __________________

    Last edited by paulo_crash; 07-03-2018 at 00:49.
    paulo_crash is offline
    Rodya
    Senior Member
    Join Date: Mar 2017
    Location: Russia
    Old 08-03-2018 , 13:55   Re: [CS:GO] BuyZone Protect
    Reply With Quote #7

    Quote:
    Originally Posted by Franc1sco View Post
    Try this.
    When the Buyzone time expires,the protection still remains in the same place where the BuyZone was
    __________________

    Rodya is offline
    eyal282
    Veteran Member
    Join Date: Aug 2011
    Old 08-03-2018 , 18:43   Re: [CS:GO] BuyZone Protect
    Reply With Quote #8

    Quote:
    Originally Posted by zipcore View Post
    This plugin can conflict with other plugins using m_takedamage
    But you could use m_bInBuyZone inside a player_hurt event for example
    Meet SDKHook(client, SDKHook_OnTakeDamage, Event_TakeDamage), allows you to actually block damage
    __________________
    I am looking for devs to help maintain some projects I have

    Discord: Eyal282#1334
    If you like my work, feel free to donate in appreciation with PayPal or CSGO Skins.

    Total Donated: 15$
    eyal282 is offline
    paulo_crash
    AlliedModders Donor
    Join Date: May 2016
    Location: Brazil
    Old 02-17-2019 , 19:36   Re: [CS:GO] BuyZone Protect
    Reply With Quote #9

    Quote:
    Originally Posted by Franc1sco View Post
    Try this.
    I'm using this version of the plugin, it works perfectly for me, but I'd like to know if it would be possible to add new features.

    The player is protected the whole time BuyZone, it would be interesting if it had some cvar, option to limit a time for protection, so players do not abuse BuyZone, staying alone in it.
    __________________
    paulo_crash is offline
    Reply


    Thread Tools
    Display Modes

    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 17:21.


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