Raised This Month: $32 Target: $400
 8% 

Blackjack (Johnny) v1.02


Post New Thread Reply   
 
Thread Tools Display Modes
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 - 2515 views - 14.5 KB)
File Type: sma Get Plugin or Get Source (blackjacklimit.sma - 2255 views - 14.7 KB)
File Type: sma Get Plugin or Get Source (blackjackv2.sma - 2432 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
XxKpAznGuyxX
Senior Member
Join Date: Dec 2004
Location: EARTH!!
Old 08-03-2005 , 00:06  
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?t=2751


and Johnny made this not JGHG
__________________
24/7 Chicago Terror-8.9.2.120:27015
XxKpAznGuyxX is offline
Send a message via AIM to XxKpAznGuyxX Send a message via MSN to XxKpAznGuyxX
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 08-03-2005 , 01:08  
Reply With Quote #3

Oh, ummm srry, but why wasn't that plugin ever apporoved? you can't find it on the main page...

What was wrong with the plugin, it works fine on my server?
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
XxKpAznGuyxX
Senior Member
Join Date: Dec 2004
Location: EARTH!!
Old 08-03-2005 , 02:12  
Reply With Quote #4

Quote:
Originally Posted by Lord_Destros
Oh, ummm srry, but why wasn't that plugin ever apporoved? you can't find it on the main page...

What was wrong with the plugin, it works fine on my server?
not all plugins get approved you have to follow these steps

and the other one probably got trash because the guy that ported was banned. not sure though
__________________
24/7 Chicago Terror-8.9.2.120:27015
XxKpAznGuyxX is offline
Send a message via AIM to XxKpAznGuyxX Send a message via MSN to XxKpAznGuyxX
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 08-04-2005 , 20:24  
Reply With Quote #5

ummmm, which did i not do? I fixed the name to johnny from jghg.
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
gunsniper
Member
Join Date: Jun 2005
Location: PA - USA
Old 08-05-2005 , 19:35  
Reply With Quote #6

hmm....the first maker got banned so the plugin is no out there execpt fot this one
__________________
gunsniper is offline
Send a message via AIM to gunsniper Send a message via Yahoo to gunsniper
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 08-16-2005 , 15:50  
Reply With Quote #7

If theres any complaints/bugs feel free to post them, although I must warn i'm not the best at coding,
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 08-22-2005 , 02:35  
Reply With Quote #8

Any response? Do you guys atleast like the plugin? lol
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 09-12-2005 , 19:35  
Reply With Quote #9

Does better weapon mean like a new weapon or just better than the one they currently have?
SubStream is offline
Dr0p
Junior Member
Join Date: Jul 2005
Old 09-13-2005 , 13:52  
Reply With Quote #10

SubStream,

Have you ever been to a casino and played Blackjack? You wager X amount of money on your hand beating the house's hand. If you win, you win your wager x2 back.

So if you bet 1,000 and win, you get a total of 2,000$ - Thus getting more money to buy a *better weapon*

He isn't introducing new weapons and this plugin would be pointless for you considering the infinit money you give your players.

-Dr0p
Dr0p 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 12:21.


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