AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] Bounty System for Zephyrus Store V1.1 [29/05/2020] (https://forums.alliedmods.net/showthread.php?t=324855)

SSheriFF 05-29-2020 10:27

[CS:GO] Bounty System for Zephyrus Store V1.1 [29/05/2020]
 
1 Attachment(s)
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

Contact:
My Discord: WilDick#1524

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]

SSheriFF 05-29-2020 19:40

Re: [CS:GO] Bounty System for Zephyrus Store
 
For support in other Stores send me a PM/Discord.

addone 05-29-2020 20:11

Re: [CS:GO] Bounty System for Zephyrus Store
 
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

SSheriFF 05-29-2020 21:19

Re: [CS:GO] Bounty System for Zephyrus Store
 
Quote:

Originally Posted by addone (Post 2703069)
thx for plugin
Error log

Should be fixed now.

addone 05-30-2020 09:05

Re: [CS:GO] Bounty System for Zephyrus Store
 
Yes, its fixed. Thanks.

LnG 07-08-2020 18:16

Re: [CS:GO] Bounty System for Zephyrus Store V1.1 [29/05/2020]
 
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.

G0dFulL. 08-11-2020 16:28

Re: [CS:GO] Bounty System for Zephyrus Store V1.1 [29/05/2020]
 
can you make a quest plugin sort of thing? Where you could just win credits by completing any thing from like 50 kills noscope / 10 bomb plants?

SSheriFF 08-11-2020 16:35

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

Originally Posted by G0dFulL. (Post 2713868)
can you make a quest plugin sort of thing? Where you could just win credits by completing any thing from like 50 kills noscope / 10 bomb plants?

Already made here.

SkuLzAUT 10-29-2020 02:24

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

Originally Posted by LnG (Post 2709320)

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



How can i fix this? Theres no reset at endround

JOnDark 01-30-2021 09:08

Re: [CS:GO] Bounty System for Zephyrus Store V1.1 [29/05/2020]
 
Can you make it like random per player on start round ?


All times are GMT -4. The time now is 08:31.

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