[TF2/CSGO] JackPot for Zephyrus Store
Description:
This plugin allows players to gamble on their own credits. If a player enters with a bigger amount of credits than other players, his chances of winning will also increase. JackPot winner is announced on round end.
NOTE: If your server does not rely on rounds, please do not use this plugin.
ConVars:
- sm_zephgamble_min - The minimum amount of credits to gamble on. (default: 50)
- sm_zephgamble_max - The maximum amount of credits to gamble on. (default: 10000)
Commands:
- sm_pot <credits> - Command for players to enter the jackpot.
NOTE: Using sm_pot without arguments simply shows the current status of the jackpot (players in the jackpot and their chances of winning).
Installation:
- Make sure you have Zephyrus Store installed on your server.
- Place the .smx file in addons/sourcemod/plugins
- Reload the map and enjoy!
Changelog:
Code:
1.1 - Plugin rewrite, based on "tickets" mechanism
1.0 - Initial Release