Well on my mafia game, all rank's have a bar with there percent on.But im trying to make Top rank's have something called "Xp" instead.Anyone know what is wrong with this?
PHP Code:<?php
if($fetch->rank == "Scum" || $fetch->rank == "Tramp" || $fetch->rank == "Chav" || $fetch->rank == "Vandal" || $fetch->rank == "Mobster" || $fetch->rank == "Hitman" || $fetch->rank == "Agent" || $fetch->rank == "Boss" || $fetch->rank == "Assassin" || $fetch->rank == "Godfather" || $fetch->rank == "Global Threat" || $fetch->rank == "World Dominator" || $fetch->rank == "World Class Dominator" || $fetch->rank == "Untouchable Godfather" || $fetch->rank == "Legend") { echo "<body>
<table width="0%" height="0" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="0" colspan="3" align="top" valign="top" scope="col"><div align="middle">
<table width="100" height="0" border="1" cellpadding="0" cellspacing="0" bordercolor="#000000">
<tr>
<td width='.makecomma($percent)."%"; ?>' <font color=#8a8a8a><div align="center"><font color="#FFFFFF"><b>
.makecomma($percent)."%"; ?></b></font></div></td>"; }
elseif($fetch->rank == "Official Bliss Godfather") { echo "<b><font color=#8a8a8a>Xp:</font>"; }
?>



Reply With Quote




