View Single Post
Author Message
StrikeR14
AlliedModders Donor
Join Date: Apr 2016
Location: Behind my PC
Old 09-08-2020 , 14:04   [TF2/CSGO] JackPot for Zephyrus Store (18-Dec-2023)
Reply With Quote #1

[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:
  1. Make sure you have Zephyrus Store installed on your server.
  2. Place the .smx file in addons/sourcemod/plugins
  3. Reload the map and enjoy!

Changelog:

Code:
1.1 - Plugin rewrite, based on "tickets" mechanism
1.0 - Initial Release
Attached Files
File Type: sp Get Plugin or Get Source (zeph_jackpot.sp - 16 views - 5.1 KB)
File Type: smx zeph_jackpot.smx (6.2 KB, 14 views)
__________________
Currently taking TF2/CSGO paid private requests!

My Plugins | My Discord Account

Last edited by StrikeR14; 12-18-2023 at 08:59.
StrikeR14 is offline