Raised This Month: $51 Target: $400
 12% 

TestMyLuck - Bet Game


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
kapzz
Member
Join Date: Mar 2012
Location: Mars
Old 04-09-2012 , 15:27   TestMyLuck - Bet Game
Reply With Quote #1

TestMyLuck
by kapzz

Description:

TestMyLuck is a bet game where the player bet's in 5 numbers with the cost of 200$ , the plugin then generates 5 random numbers,
and the objective is to the choosed numbers be the same and in the same positions as the random numbers, for each bet right the player wins 1250$, and for every wrong he loses 200$.
This plugin is mostly to be used in fun/public servers.
Numbers used here can be changed the way u want.


Video:
watch on youtube for better quality. ( 2º music sucks sorry xD )


Rewards:
This is not all since i thought it has to simple , players will also be able to win random rewards if they are right in more than 1 numbers and if you want this enable.

Rewards that can be given:
  • Random Health
  • Random Armor
  • Random Glow
  • Random Money
  • Nothing



There are 50/50 change of getting a reward or getting nothing.

Commands:
  • /testmyluck
  • /tml

Cvars:

  • tml_status <1/0> - Enables/Disables plugin (default:1)
  • tml_ads <1/0> - Enables/Disables plugin command advertiser. (default:1)
  • tml_cost <default:200> - Money cost of a bet.
  • tml_eachright <default:1250> - Money won on each number right
  • tml_eachwrong <defaut:200> - Money lost on each number wrong
  • tml_rewards <1/0> - Enables/Disables Rewards. (default:1)
  • tml_rewards_maxhealth <default:80> - Max health that can be given on rewards.
  • tml_rewards_maxarmor <default:50> - Max armor that can be given on rewards.
  • tml_rewards_maxmoney <default:1000> - Max money that can be given on rewards.

End:
  • Big thank's to bugsy & smasher
  • You have to compile this localy with colorchat.inc on folder includes
  • Sorry for some english fails, if u find any please let me know
  • Plugin is only in english, will work on more later.
  • If u want to change the number of numbers to bet u have to change it on the sma.
  • If you have any suggestions to improve the plugin code, want something to be added or find any bug please tell, i appreciate it
Attached Files
File Type: sma Get Plugin or Get Source (TestMyLuck.sma - 1009 views - 12.4 KB)
File Type: inc colorchat.inc (5.9 KB, 291 views)

Last edited by kapzz; 04-09-2012 at 15:36.
kapzz is offline
jizzUS
Junior Member
Join Date: Apr 2012
Old 04-09-2012 , 15:32   Re: TestMyLuck - Bet Game
Reply With Quote #2

The plugin looks very cool, but where is the SMA ?
Upload it to i test in my server .

Last edited by jizzUS; 04-09-2012 at 15:32.
jizzUS is offline
kapzz
Member
Join Date: Mar 2012
Location: Mars
Old 04-09-2012 , 15:32   Re: TestMyLuck - Bet Game
Reply With Quote #3

Done uploaded, forgot xD

Last edited by kapzz; 04-09-2012 at 15:34.
kapzz is offline
jizzUS
Junior Member
Join Date: Apr 2012
Old 04-09-2012 , 15:36   Re: TestMyLuck - Bet Game
Reply With Quote #4

It worked fine in my server .
But does the rewards cost 200$ that we spend ?

EDIT@ I will see if it has bugs ,

Last edited by jizzUS; 04-09-2012 at 15:36.
jizzUS is offline
kapzz
Member
Join Date: Mar 2012
Location: Mars
Old 04-09-2012 , 15:37   Re: TestMyLuck - Bet Game
Reply With Quote #5

The rewards are given when you are right in more than 1 number, the 200$ is the bet cost .
kapzz is offline
jizzUS
Junior Member
Join Date: Apr 2012
Old 04-09-2012 , 15:40   Re: TestMyLuck - Bet Game
Reply With Quote #6

I have sugestions :

Some rewards can be pistols, or other weapons .
If you can, add a lang file , to translate to every languages .

PS@ BAD ENGLISH, IM PORTUGUESE
jizzUS is offline
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 04-10-2012 , 11:14   Re: TestMyLuck - Bet Game
Reply With Quote #7

Good idea.
__________________
kramesa is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 04-13-2012 , 17:12   Re: TestMyLuck - Bet Game
Reply With Quote #8

Really nice. GJ.
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
thesnakebiter
Senior Member
Join Date: Oct 2011
Old 04-15-2012 , 13:06   Re: TestMyLuck - Bet Game
Reply With Quote #9

I think that is very fun...
Add Cvars for minimum health, armor,money to give.
thesnakebiter is offline
kapzz
Member
Join Date: Mar 2012
Location: Mars
Old 04-15-2012 , 13:15   Re: TestMyLuck - Bet Game
Reply With Quote #10

I will make some updates soon, ML , minimum cvars for rewards , no need for colorchat inc and some new rewards.
kapzz is offline
Reply



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 15:19.


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