i just wanna add something like after all your steps...you end up in hospital for a random amount of time
}
if ($chance == 2) {
print "Nothing here.
";
}
if ($chance == 3) {
$gained=rand(20,90)*$ir['level'];
print "You found a wallet full of cash on the side walk. You open it up and find [b]\$$gained[/b] was inside.
";
mysql_query("update users set money=money+$gained where userid=$userid",$c);
}
if ($chance == 7) {
print "You see a two people knocking the shit out a helpless man , pretending that you didn't notice you decide to keep walking. You don't want to be in his shoes anytime soon.
";
}
if ($chance == 4) {
print "While exploring the streets you found some cash, but a thief comes quickly behind you and pulls out a knife. he asked you to give him the money but you refuse. He gets pissed so he knockes you unconconius and takes the money ";