Raised This Month: $ Target: $400
 0% 

[Store] Coinflip


Post New Thread Reply   
 
Thread Tools Display Modes
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 , 16: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 09:21.
condolent is offline
Cripix
Senior Member
Join Date: Sep 2016
Location: French, Bordeaux
Old 07-31-2017 , 17:05   Re: [Store] Coinflip
Reply With Quote #2

French Translate
Attached Files
File Type: txt coinflip.phrases.txt (1.9 KB, 493 views)
__________________
My jailbreak Server :
Cripix is offline
condolent
AlliedModders Donor
Join Date: Jan 2016
Location: gc_sLocation;
Old 07-31-2017 , 17:19   Re: [Store] Coinflip
Reply With Quote #3

Quote:
Originally Posted by Cripix View Post
French Translate
Thanks!
Mind translating this for the next update?
Code:
You must be in game to use this command!
__________________
condolent is offline
Cripix
Senior Member
Join Date: Sep 2016
Location: French, Bordeaux
Old 07-31-2017 , 17:32   Re: [Store] Coinflip
Reply With Quote #4

Quote:
Originally Posted by condolent View Post
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
__________________
My jailbreak Server :

Last edited by Cripix; 07-31-2017 at 17:33.
Cripix is offline
MBf
Member
Join Date: Aug 2016
Old 12-12-2017 , 09:04   Re: [Store] Coinflip
Reply With Quote #5

Good

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


Quote:
Originally Posted by condolent View Post
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



__________________
PLAY.ACEARENA.RO
WWW.ACEARENA.RO

Last edited by MBf; 12-12-2017 at 09:05.
MBf is offline
condolent
AlliedModders Donor
Join Date: Jan 2016
Location: gc_sLocation;
Old 12-12-2017 , 09:07   Re: [Store] Coinflip
Reply With Quote #6

Quote:
Originally Posted by MBf View Post
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!
__________________
condolent is offline
spancer35
Senior Member
Join Date: Dec 2014
Location: City 17
Old 12-15-2017 , 18:45   Re: [Store] Coinflip
Reply With Quote #7

Here is a Turkish translate!
Attached Files
File Type: txt coinflip.phrases.txt (2.7 KB, 481 views)
__________________
spancer35 is offline
Enki_hardwar
Junior Member
Join Date: Jul 2017
Old 02-21-2018 , 07:10   Re: [Store] Coinflip
Reply With Quote #8

Romanian Translation!
Attached Files
File Type: txt coinflip.phrases.txt (3.3 KB, 550 views)
Enki_hardwar is offline
Lord Nightmare
Junior Member
Join Date: Feb 2014
Location: Poland
Old 02-21-2018 , 17:32   Re: [Store] Coinflip
Reply With Quote #9

Polish Translation
Attached Files
File Type: txt coinflip.phrases.txt (4.1 KB, 516 views)

Last edited by Lord Nightmare; 02-21-2018 at 17:32.
Lord Nightmare is offline
Zyten
Senior Member
Join Date: Jan 2018
Old 04-22-2018 , 18:15   Re: [Store] Coinflip
Reply With Quote #10

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)

Last edited by Zyten; 04-22-2018 at 18:37.
Zyten is offline
Reply


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 06:48.


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