Raised This Month: $ Target: $400
 0% 

[Store] Coinflip


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
condolent
AlliedModders Donor
Join Date: Jan 2016
Location: gc_sLocation;
Plugin ID:
5742
Plugin Version:
1.2
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
A module for Zephyrus' store plugin. Allowing players to throw a coin and either win or lose.
Old 07-31-2017 , 15:32   [Store] Coinflip
Reply With Quote #1

Build status:

Description
Quite simple plugin, really.
Gives players ability to flip a coin with a 50/50 chance to win or lose. Most of the plugins' content is configurable.

Dependencies
Store by Zephyrus

How to install
  • Download the plugin
  • Put coinflip.smx in your root/addons/sourcemod/plugins folder
  • Put coinflip.phrases.txt in your root/addons/sourcemod/translations folder
  • Change map or restart your server
  • Make your desired changes in the config located in root/cfg/sourcemod/store.coinflip.cfg

Commands
sm_flip - The actual command to use for gambling. Proper use: !flip <amount of credits>.

CVars
Code:
// This file was auto-generated by SourceMod (v1.8.0.6014)
// ConVars for plugin "coinflip.smx"


// What's the maximum amounts of credits a user can bet at once
// -
// Default: "50"
// Minimum: "1.000000"
sm_coinflip_max "50"

// What's the minimum amount of credits a player is allowed to bet?
// -
// Default: "5"
// Minimum: "0.100000"
sm_coinflip_min "5"

// In seconds, how long does a player have to wait inbetween bets?
// Set to 0 to disable.
// -
// Default: "120"
sm_coinflip_waittime "120"

// The amount of the betted coins that the client wins. (Betted credits * 0.5)
// -
// Default: "0.5"
// Minimum: "0.100000"
sm_coinflip_winratio "0.5"
Translations
  • ✔ English
  • ✔ Swedish
  • × Russian
  • ✔ French


Download the plugin!

Links
Github



__________________

Last edited by condolent; 08-01-2017 at 08:21.
condolent is offline
 


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 23:02.


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