Geld wird gerundet

main
radiskull 13 years ago
parent 2d0951ef13
commit 887df79f3a

@ -215,6 +215,7 @@ if($charm == 3) {
if($tausch_geld != null) { if($tausch_geld != null) {
$row = mysql_fetch_array(mysql_query("SELECT level FROM arena WHERE besitzer = ".$user['id'].";")); $row = mysql_fetch_array(mysql_query("SELECT level FROM arena WHERE besitzer = ".$user['id'].";"));
$arenalvl = $row['level']; $arenalvl = $row['level'];
$tausch_geld = round($tausch_geld);
if($tausch_geld <= ($arenalvl * 10000)) { if($tausch_geld <= ($arenalvl * 10000)) {
if($tausch_geld <= $user['geld']) { if($tausch_geld <= $user['geld']) {

Loading…
Cancel
Save