Raised This Month: $23 Target: $400
 5% 

[CS:GO] Bounty System for Zephyrus Store V1.1 [29/05/2020]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
SSheriFF
AlliedModders Donor
Join Date: May 2020
Location: Israel
Plugin ID:
7137
Plugin Version:
1.1
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Set a bounty on a player using Credits from Zephyrus Store
    Old 05-29-2020 , 10:27   [CS:GO] Bounty System for Zephyrus Store V1.1 [29/05/2020]
    Reply With Quote #1

    Description:
    ➤ Set a bounty on a player with your credits and have fun
    ➤ Supports Zephyrus's Store.

    How to install:
    ➤ Copy Bounty-Zephyrus.smx to addons/sourcemod/plugins
    ➤ Change the map or restart your server.
    ➤ Have Fun.

    Commands:
    ➤ sm_bounty | Opens the Bounty menu.

    Cvars:
    ➤ sm_bounty_min_amount | The minimum amount of Credits to use the bounty system (default : 50)
    ➤ sm_bounty_max_amount | The maximum amount of Credits to use the bounty system (default : 500)
    ➤ sm_infiniteuse_bounty | 1-Enable 0-Disable infinite use of bounty per round (default : 0)
    ➤ sm_coloredbounty | 1-Enable 0-Disable colored bounty player (default : 1)
    ➤ sm_min_players_required | The amount of players in the server that required to use the bounty system (default : 1)
    ➤ sm_bounty_on_t | 1-Enable 0-Disable the bounty on Terrorists (default : 1)
    ➤ sm_bounty_on_ct | 1-Enable 0-Disable the bounty on Counter - Terrorists (default : 1)
    ➤ Changeable through cfg/sourcemod/store_bounty.cfg

    Note:
    ➤ Since I'm new to SourcePawn, taking any improvement suggestions.

    Download links:
    Zephyrus Store
    GitHub Download Link

    Contact:
    My Discord: WilDick#1524
    My Steam Profile

    Versions:
    ➤ 1.0 - first release [29/05/2020]
    ➤ 1.1 - Added 2 Cvars which allows to disable the bounty system on specific team [29/05/2020]
    Attached Files
    File Type: zip BountySystem-Zephyrus.zip (39.1 KB, 49 views)

    Last edited by SSheriFF; 06-10-2020 at 18:05.
    SSheriFF is offline
    SSheriFF
    AlliedModders Donor
    Join Date: May 2020
    Location: Israel
    Old 05-29-2020 , 19:40   Re: [CS:GO] Bounty System for Zephyrus Store
    Reply With Quote #2

    For support in other Stores send me a PM/Discord.
    SSheriFF is offline
    addone
    Junior Member
    Join Date: Apr 2018
    Old 05-29-2020 , 20:11   Re: [CS:GO] Bounty System for Zephyrus Store
    Reply With Quote #3

    thx for plugin
    Error log

    Quote:
    L 05/29/2020 - 20:45:12: Info (map "fy_pool_day_switch") (file "/home/csgoserver/serverfiles/csgo/addons/sourcemod/logs/errors_20200529.log")
    L 05/29/2020 - 20:45:12: [SM] Exception reported: Client index 0 is invalid
    L 05/29/2020 - 20:45:12: [SM] Blaming: Bounty-Zephyrus.smx
    L 05/29/2020 - 20:45:12: [SM] Call stack trace:
    L 05/29/2020 - 20:45:12: [SM] [0] GetClientHealth
    L 05/29/2020 - 20:45:12: [SM] [1] Line 66, C:\Users\star\Desktop\csgo plugins\Bounty-Zephyrus.sp::Event_PlayerDeath
    addone is offline
    SSheriFF
    AlliedModders Donor
    Join Date: May 2020
    Location: Israel
    Old 05-29-2020 , 21:19   Re: [CS:GO] Bounty System for Zephyrus Store
    Reply With Quote #4

    Quote:
    Originally Posted by addone View Post
    thx for plugin
    Error log
    Should be fixed now.

    Last edited by SSheriFF; 06-26-2020 at 06:52.
    SSheriFF is offline
    addone
    Junior Member
    Join Date: Apr 2018
    Old 05-30-2020 , 09:05   Re: [CS:GO] Bounty System for Zephyrus Store
    Reply With Quote #5

    Yes, its fixed. Thanks.
    addone is offline
    LnG
    Junior Member
    Join Date: Sep 2006
    Old 07-08-2020 , 18:16   Re: [CS:GO] Bounty System for Zephyrus Store V1.1 [29/05/2020]
    Reply With Quote #6

    Does not work with multiple bounties, I changed the following code:

    PHP Code:
    g_bountyamount[itarget] = g_iManualAmount[client
    to

    PHP Code:
    g_bountyamount[itarget] += g_iManualAmount[client
    working good so far.

    edit: Also had to reset bounties on roundend after making that change.
    __________________

    Last edited by LnG; 07-08-2020 at 19:45.
    LnG 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 01:46.


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