oki ich hatte das mal drin das man nur mit bonuslose bei mir bonuspoints spielen kann hier ein ausschnitt davon

ist für usa slots

hoffe das hilft dir

PHP-Code:
<?

session_start();
include("universal-conf.php");
include("jags_slotlines5-u.php");


###################################################################
if (!$r = mysql_fetch_array(db_query("select * from ".$datentabelle." where ".$idfeld." = ".$_SESSION[$sessionname])))
{
        die("&result=Bitte zuerst einloggen!");
}

$guthaben = floor($r['bonuspoints']);


    $pool = intval($_REQUEST["einsatz"]);

    for ($i = 0; $i < count($einsaetze) ; $i++)
    {
        if ($pool == $einsaetze[$i])    
        {
            $einsatzOK = true;
            break;
        }
    }

    if (!$einsatzOK) $pool = $einsaetze[0];

    $freispiele = max(0, $_SESSION[md5("fs" . $usa_params["game_title"])]);

    if ($freispiele > 0)
    {
        $freispiele --;
        $pool = $_SESSION[md5("lastpool" . $usa_params["game_title"])];
    }
    else
    {

        if($guthaben < $pool){ die("&result=Zu wenig Guthaben"); }

        bonuspoints ('-',$pool,$_SESSION[$sessionname]);