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.
AlliedModders
- 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
sm_flip - The actual command to use for gambling. Proper use: !flip .
// 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"
- ✓ English
- ✓ Swedish
- × Russian
- ✓ French