Ever feel like going to a casino? Ever feel like risking next rounds weapon to buy AN EVEN BETTER WEAPON
Well now you can with this plugin thx to Johnny. I remembered and missed this plugin from amx and couldn't find it here on amxx so i figured why not port it? After all what could i lose, 999 hours of my much needed time???
Anyways after a little fiddling around i was able to port it with a few new features.
COMMANDS:
amx_blackjack Both of these bring up the menu on how much you wish to bet
say blackjack Both of these bring up the menu on how much you wish to bet
CVARS (shown with default settings as of v2 update):
amx_blackjack_enabled 1 // 1 means on, 0 means off
amx_blackjack_deadonly 1 // Can users play while alive?
amx_blackjack_limitcash 0 // Maximum amount of cash a user can have in order to play (0 means infinite).
amx_blackjack_limitgames 3 //How many times can a user play until he dies?
Required modules are cstrike and fun.
Goes great with roll the dice, gives players something to do when they are dead.
v1.00 - Initial port
v1.01 - Added a second version in which you can't go over $16,000 limit. (blackjacklimit.sma)
v1.02 - Added amx_blackjack_limitcash and amx_blackjack_limitgames. Money is now removed as soon as a user is done betting and is readded if they win.
Credits:
Johnny for the original idea and plugin
Kensai for advertising code
Caine for reporting client abuse glitch
Due to my not running a CS server and inability to test this, I will keep old versions up until I know the new version is running correctly.