AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [Store] Coinflip (https://forums.alliedmods.net/showthread.php?t=299963)

condolent 07-31-2017 15:32

[Store] Coinflip
 
Build status: https://travis-ci.org/condolent/Coin...?branch=master

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

https://img.shields.io/github/downlo...flip/total.svg

https://img.shields.io/github/issues...t/coinflip.svg

Cripix 07-31-2017 16:05

Re: [Store] Coinflip
 
1 Attachment(s)
French Translate :grrr::grrr:

condolent 07-31-2017 16:19

Re: [Store] Coinflip
 
Quote:

Originally Posted by Cripix (Post 2538930)
French Translate :grrr::grrr:

Thanks!
Mind translating this for the next update?
Code:

You must be in game to use this command!

Cripix 07-31-2017 16:32

Re: [Store] Coinflip
 
Quote:

Originally Posted by condolent (Post 2538932)
Thanks!
Mind translating this for the next update?
Code:

You must be in game to use this command!

Tu dois être en jeu pour utiliser cette commande

MBf 12-12-2017 08:04

Re: [Store] Coinflip
 
Good

Can anything like 1v1 (challenge between 2 players per point?)


Quote:

Originally Posted by condolent (Post 2538923)
Build status: https://travis-ci.org/condolent/Coin...?branch=master

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

https://img.shields.io/github/downlo...flip/total.svg

https://img.shields.io/github/issues...t/coinflip.svg


condolent 12-12-2017 08:07

Re: [Store] Coinflip
 
Quote:

Originally Posted by MBf (Post 2565748)
Good

Can anything like 1v1 (challenge between 2 players per point?)

that's not a feature I've added, yet. I might do this later on!

spancer35 12-15-2017 17:45

Re: [Store] Coinflip
 
1 Attachment(s)
Here is a Turkish translate!

Enki_hardwar 02-21-2018 06:10

Re: [Store] Coinflip
 
1 Attachment(s)
Romanian Translation!

Lord Nightmare 02-21-2018 16:32

Re: [Store] Coinflip
 
1 Attachment(s)
Polish Translation

Zyten 04-22-2018 17:15

Re: [Store] Coinflip
 
okey my devil server found way to cheat on this. at 1st of everymap start they join fast to a team (by space) and flip 100% win chance anyway to fix that ?

my idea was to make cvar. 30 sec untill u can make 1st flip after every map change (i dont know if that helps)

(i am not sure if that information correct thou as i havent tested it)


All times are GMT -4. The time now is 04:20.

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