Raised This Month: $ Target: $400
 0% 

Slots Machine


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
skitaila03
Junior Member
Join Date: Nov 2014
Old 07-27-2015 , 07:59   Slots Machine
Reply With Quote #1

Description:
A slot machine is a casino gambling machine with three or more reels which spin when a button is pushed, slot machines include a currency detector that validates the money inserted to play.
I wanted to make a plugin similar with real life slots machine, but my plugin work with numbers instead of fruits or anything else.
I will try to explain menu options.

Try
  • The calcul formula for win is slots_try * bet * row numbers
  • The calcul formula for loose is slots_try * bet
  • Free try option, when you join you can try for free first when you press this button, but free try only work with slots_freetry set on 1
  • When you press this button, you can play the gamble, but you can play only if you have a bet higher or equivalent with 1 and tokens higher or equivalent with cvar slots_try
Increase Bet
  • With this option you can incrase the bet
Decrease Bet
  • With this option you can decrease the bet, bet can't be lower than 0.
Invest
  • With this option you can invest some dolars to buy tokens
Exchange
  • With this option you switch tokens with dolars.

Commands:
  • say !slots
  • say_team !slots

Requirements:
  • cstrike

Cvars:

slots_prefix [SLOTS]
  • Set the prefix
slots_try 100
  • Set the price for each try
slots_freetry 1
  • 1 - First try free On | 0 - First try free Off

Images:




Changelog:


v0.1
  • First release.
v0.1.1
  • Visual menu updated.
  • Tokens updated.
  • Added Bet features.
  • Changed calcul formula for win/loose.
  • Added Multilanguage support.
  • Added First Try free features
  • Added cvars

PS: If i had some mistakes about my rip english. Sorry!
Attached Files
File Type: sma Get Plugin or Get Source (slots_machine.sma - 1204 views - 24.5 KB)
File Type: txt slots_machine.txt (501 Bytes, 501 views)

Last edited by skitaila03; 08-15-2015 at 08:59.
skitaila03 is offline
 



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 01:51.


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