virtualshogun Posted March 2, 2010 Posted March 2, 2010 <?php include "globals.php"; //------------------------------------------------------------------------// // - Mad Bomber Mod free - by virtualshogun // //----------------------------------------------------------------------// if($ir['jail'] or $ir['hospital']) { die("This page cannot be accessed while in jail or hospital."); } print "<h1>The Bomb Stop</h1>"; print "<hr />"; print " <font color=red>Red Wire</font> <font color=blue>Blue Wire</font> <font color=green>Green Wire</font> "; print "<hr />"; if($_GET['c'] == 1) { $chance = rand(1,3); if ($chance == 1) { $hospital=(int) rand(1,10); $loseruser = $ir['userid']; $hospreason = 'Its the bomb!'; $db->query("UPDATE users SET hospital=10 WHERE userid=$userid",$c); $db->query("UPDATE users SET hospreason='$hospreason' WHERE userid=$userid",$c); die ("you snip the first wire and well this dosent end well... "); } if ($chance == 2) { $jail=(int) rand(5,10); $loseruser = $ir['userid']; $jail_reason = 'Suspected Bomber!'; $db->query("UPDATE users SET jail=1 WHERE userid=$userid",$c); $db->query("UPDATE users SET jail_reason='$jail_reason' WHERE userid=$userid",$c); die ("!You go to disarm the bomb and get a tap on the shoulder the police think you set the bomb! "); } if ($chance == 3) { $gained=rand(20,90)*$ir[level]; print "<font color=green>You cut the right wire and get rewarded with $$gained dollars </font>"; $db->query("update users set money=money+$gained where userid=$userid",$c); } } if($_GET['c'] == 2) { $chance = rand(1,3); if ($chance == 1) { $hospital=(int) rand(1,10); $loseruser = $ir['userid']; $hospreason = 'Blown up not blow up doll!'; $db->query("UPDATE users SET hospital=10 WHERE userid=$userid",$c); $db->query("UPDATE users SET hospreason='$hospreason' WHERE userid=$userid",$c); die ("you snip the second wire and you now know what it feels like to have blue eyes on this way one that way... "); } if ($chance == 2) { $jail=(int) rand(5,10); $loseruser = $ir['userid']; $jail_reason = 'Mad bomber!'; $db->query("UPDATE users SET jail=1 WHERE userid=$userid",$c); $db->query("UPDATE users SET jail_reason='$jail_reason' WHERE userid=$userid",$c); die ("!You go to disarm the bomb and get a tap on the shoulder the police think you set the bomb! "); } if ($chance == 3) { $gained=rand(20,90)*$ir[level]; print "<font color=green>You cut the right wire and get rewarded with $$gained dollars </font>"; $db->query("update users set money=money+$gained where userid=$userid",$c); } } if($_GET['c'] == 3) { $chance = rand(1,3); if ($chance == 1) { $hospital=(int) rand(1,10); $loseruser = $ir['userid']; $hospreason = 'Blown up not blow up doll!'; $db->query("UPDATE users SET hospital=10 WHERE userid=$userid",$c); $db->query("UPDATE users SET hospreason='$hospreason' WHERE userid=$userid",$c); die ("you snip the second wire and you now know what it feels like to have blue eyes on this way one that way... "); } if ($chance == 2) { $jail=(int) rand(5,10); $loseruser = $ir['userid']; $jail_reason = 'Mad bomber!'; $db->query("UPDATE users SET jail=1 WHERE userid=$userid",$c); $db->query("UPDATE users SET jail_reason='$jail_reason' WHERE userid=$userid",$c); die ("!You go to disarm the bomb and get a tap on the shoulder the police think you set the bomb! "); } if ($chance == 3) { $gained=rand(20,90)*$ir[level]; //Adjust the money above ;) print "<font color=green>You cut the right wire and get rewarded with $$gained dollars </font>"; $db->query("update users set money=money+$gained where userid=$userid",$c); } } EOF; $h->endpage(); ?> Quote
Jordan Palmer Posted March 2, 2010 Posted March 2, 2010 Why would you have this on you're site? :/ Quote
virtualshogun Posted March 2, 2010 Author Posted March 2, 2010 to each person their own, Im curious what you mean why would i have this on a site, it was a mod made just for the kicks of it. don't like it dont use it pretty simple. free mod that works and its not good enough for free lol. Quote
Jordan Palmer Posted March 2, 2010 Posted March 2, 2010 Meh I won't use it. Could you please use You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. tag's round your code please. It makes it easier for user's to read Quote
Zero-Affect Posted March 2, 2010 Posted March 2, 2010 Meh I won't use it. Could you please use You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. tag's round your code please. It makes it easier for user's to read Maybe you should explain why you wouldn't use it? Seems a waste of posts if you don't give a explanation in the first post. Quote
Jordan Palmer Posted March 2, 2010 Posted March 2, 2010 Meh I won't use it. Could you please use You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. tag's round your code please. It makes it easier for user's to read Maybe you should explain why you wouldn't use it? Seems a waste of posts if you don't give a explanation in the first post. I just wouldn't >,< Don't see a point, if you do please enlighten me Quote
iSOS Posted March 2, 2010 Posted March 2, 2010 I've previously made a modification like this just a 'lil more advanced. [mccode lite] Bomb User. Good job anyhow. Quote
Djkanna Posted March 2, 2010 Posted March 2, 2010 Oh No! The only problem with these mods is they hate me I bet if I played guess the wire I'd get blown up all the fippin' time -.- Nice job VirtualShogun. Quote
Uridium Posted March 2, 2010 Posted March 2, 2010 I only see a few problems with this mod your using Jail and hosp as a Rand yet your not using the rand when they goto hosp or jail was alos a bit confused about the EOF; as its not being used anywhere else... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.