Re: [V2] New Small Accuracy Mod [V2]
The easiest thing i can think of doing is:
NOTE: not tested, however, to my knowledge, should work ;)
Replace the whole accuracy equation below
<hr width=20%>";
With
<hr width=20%>";
if($ir['totalhits'] < 1) {
print "[b]Your Accuracy[/b] $acc
[b]<font color='red'>You havn't made or hit anyone in the gangsta population. Please make an attack before we formulate your accuracy.</font>[/b]";
}
else
{
if($ir['totalhits'] > 1){
print "[b]Your Accuracy[/b] $acc
[b]<font color='green'>Total Hits:[/b]</font> {$ir['totalhits']}
[b]<font color='red'>Total Misses:[/b]</font> {$ir['totalmisses']}
";
}
}
$h->endpage();
?>