Quote:
Originally Posted by Our House
Feature request: "Repeat Bet" button for Blackjack, Let It Ride, and Roulette.
|
Quote:
Originally Posted by Our House
I may try to do a few other things on my own, but don't hold me to it.
1) added displays for Blackjack and Let It Ride (current bet, profit, etc.)
|
Ignore my feature request for Let It Ride. I added a repeat bet button and changed the display a little to provide the players some more info:
Here's how:
Open letmeride_deal.php
Find:
Add below:
PHP Code:
session_start();
Find:
PHP Code:
if (($bet > $vcash) || ($bet > $tablelimit))
Add above:
PHP Code:
$_SESSION['letemride_lastbet'] = $bet;
Find:
PHP Code:
$playeract = "<div style='font-weight:bold; text-align:center; font-size: 18pt;'>$hand<br />$vbphrase[casino_currency_marker]$cash</div>";
Replace with:
PHP Code:
$playeract = "<div style='font-weight:bold; text-align:center; font-size: 18pt;'><img style='cursor:pointer;' onclick='clearbet(); placebet(\"$_SESSION[letemride_lastbet]\"); playhand()', filen);' src='casino/cards/repeatbet.png' alt='repeat bet'/><br />$hand<br />Bet: $vbphrase[casino_currency_marker]$bet<br/>Won: $vbphrase[casino_currency_marker]$cash</div>";
The button doesn't really match the others, so you might want to photoshop/paint it up a little bit.