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

Blackjack (Johnny) v1.02


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   EKS (166)
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 08-02-2005 , 23:58   Blackjack (Johnny) v1.02
Reply With Quote #1

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.
Attached Files
File Type: sma Get Plugin or Get Source (blackjack.sma - 2519 views - 14.5 KB)
File Type: sma Get Plugin or Get Source (blackjacklimit.sma - 2259 views - 14.7 KB)
File Type: sma Get Plugin or Get Source (blackjackv2.sma - 2437 views - 15.3 KB)
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.

Last edited by Lord_Destros; 09-14-2006 at 02:00.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
 



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 20:52.


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