Its all in a foreign language but the part of the code I am trying to edit is...
}
elseif ($roll2 == $roll3 && $roll3 == $roll4){
$gain = ($gok * 5);
$bericht .= "<font color=\"12c000\">You got 3 in a row and won <b>$gain</b> pound</font>";
mysql_query("UPDATE $tab[pimp] SET cash=cash+$gain, turn=turn-5 where id='$id'AND rid='$rid';");
}
elseif ($roll3 == $roll4){
$gain = ($gok * 2.2);
$bericht .= "<font color=\"12c000\">You got 2 in a row and won <b>$gain</b> pound</font>";
mysql_query("UPDATE $tab[pimp] SET cash=cash+$gain, turn=turn-5 where id='$id'AND rid='$rid';");
}
The 3 in a row only lets the user win from the last 3 reels, the 2 in a row only lets the user win from the last 2 reels. I want it to use all 4 reels