-Genocide-
Members-
Posts
106 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by -Genocide-
-
Re: !!**Whore House Mod FREE**!! !!**UPDATE**!! Added A Gay And Lesbian Section" whorehouse.php <?php /*----------------------------------------------------- -- Whore House v1.0 -- A product of Stage3Gaming -- [url]http://www.stage3gaming.com[/url] -- whorehouse.php -----------------------------------------------------*/ session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); if(!$_GET['spend']) { print "<h2>5th Street Whore House</h2> Welcome, we have many fine prostitutes here, both male and female. Prices and payment options are listed below. <h3>For The Guys</h3> <table border='1' width='90%' bordercolor='#939393'><tr background='header.jpg'><th>Prostitute</th><th>Age</th><th>Sex</th><th>Price</th><th><center>Hire</th></tr><tr> <td><center>April</td><td><center>19</td><td><center>Female</td><td><center>$1,000,000</td><td><center>[url='whorehouse.php?spend=april']Hire April[/url]</td></tr><tr> <td><center>Kelly</td><td><center>18</td><td><center>Female</td><td><center>$5,000,000</td><td><center>[url='whorehouse.php?spend=kelly']Hire Kelly[/url]</td></tr><tr> <td><center>Shaniqua</td><td><center>23</td><td><center>Female</td><td><center>$7,000,000</td><td><center>[url='whorehouse.php?spend=shan']Hire Shaniqua[/url]</td></tr><tr> <td><center>Rhonda</td><td><center>20</td><td><center>Female</td><td><center>$10,000,000</td><td><center>[url='whorehouse.php?spend=rhonda']Hire Rhonda[/url]</td></tr></table>"; print " <h3>For The Ladies</h3> <table border='1' width='90%' bordercolor='#939393'><tr background='header.jpg'><th>Prostitute</th><th>Age</th><th>Sex</th><th>Price</th><th><center>Hire</th></tr><tr> <td><center>Mark</td><td><center>26</td><td><center>Male</td><td><center>$1,000,000</td><td><center>[url='whorehouse.php?spend=mark']Hire Mark[/url]</td></tr><tr> <td><center>Jason</td><td><center>23</td><td><center>Male</td><td><center>$5,000,000</td><td><center>[url='whorehouse.php?spend=jason']Hire Jason[/url]</td></tr><tr> <td><center>Jaquez</td><td><center>20</td><td><center>Male</td><td><center>$7,000,000</td><td><center>[url='whorehouse.php?spend=jaq']Hire Jaquez[/url]</td></tr><tr> <td><center>Matthew</td><td><center>29</td><td><center>Male</td><td><center>$10,000,000</td><td><center>[url='whorehouse.php?spend=matt']Hire Matthew[/url]</td></tr></table>"; print " <h3>Gay And Lesbian Only</h3> <table border='1' width='90%' bordercolor='#939393'><tr background='header.jpg'><th>Prostitute</th><th>Age</th><th>Sex</th><th>Price</th><th><center>Hire</th></tr><tr> <td><center>Tommy</td><td><center>22</td><td><center>Male</td><td><center>$1,000,000</td><td><center>[url='whorehouse.php?spend=tom']Hire Tommy[/url]</td></tr><tr> <td><center>Tina</td><td><center>18</td><td><center>Female</td><td><center>$5,000,000</td><td><center>[url='whorehouse.php?spend=tina']Hire Tina[/url]</td></tr><tr> <td><center>Riko</td><td><center>20</td><td><center>Male</td><td><center>$7,000,000</td><td><center>[url='whorehouse.php?spend=riko']Hire Riko[/url]</td></tr><tr> <td><center>Michelle</td><td><center>18</td><td><center>Female</td><td><center>$10,000,000</td><td><center>[url='whorehouse.php?spend=mich']Hire Michelle[/url]</td></tr></table>"; } else { if($_GET['spend'] == 'april') { if($ir['money'] <1000000) { print "You don't have enough money to hire a April!"; } else { mysql_query("UPDATE users SET will=will+35,energy=0,money=money-1000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a April \$1,000,000, took her to the back room and had your way with her. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'kelly') { if($ir['money'] <5000000) { print "You don't have enough money to hire a Kelly!"; } else { mysql_query("UPDATE users SET will=will+70,energy=0,money=money-5000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Kelly \$5,000,000, took her to the back room and had your way with her. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'shan') { if($ir['money'] <7000000) { print "You don't have enough money to hire a Shaniqua!"; } else { mysql_query("UPDATE users SET will=will+140,energy=0,money=money-7000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Shaniqua \$7,000,000, took her to the back room and had your way with her. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'rhonda') { if($ir['money'] <10000000) { print "You don't have enough money to hire a Rhonda!"; } else { mysql_query("UPDATE users SET will=will+250,energy=0,money=money-10000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Rhonda \$10,000,000, took her to the back room and had your way with her. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'mark') { if($ir['money'] <1000000) { print "You don't have enough money to hire a Mark!"; } else { mysql_query("UPDATE users SET will=will+35,energy=0,money=money-1000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Mark \$1,000,000, took him to the back room and had your way with him. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'jason') { if($ir['money'] <5000000) { print "You don't have enough money to hire a Jason!"; } else { mysql_query("UPDATE users SET will=will+70,energy=0,money=money-5000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Jason \$5,000,000, took him to the back room and had your way with him. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'jaq') { if($ir['money'] <7000000) { print "You don't have enough money to hire a Jaquez!"; } else { mysql_query("UPDATE users SET will=will+140,energy=0,money=money-7000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Jaquez \$7,000,000, took him to the back room and had your way with him. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'matt') { if($ir['money'] <10000000) { print "You don't have enough money to hire a Matthew!"; } else { mysql_query("UPDATE users SET will=will+250,energy=0,money=money-10000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Matthew \$10,000,000, took him to the back room and had your way with him. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'tommy') { if($ir['money'] <1000000) { print "You don't have enough money to hire a Tommy!"; } else { mysql_query("UPDATE users SET will=will+35,energy=0,money=money-1000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Tommy \$1,000,000, took him to the back room and had your way with him. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'tina') { if($ir['money'] <5000000) { print "You don't have enough money to hire a Tina!"; } else { mysql_query("UPDATE users SET will=will+70,energy=0,money=money-5000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Tina \$5,000,000, took her to the back room and had your way with her. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'riko') { if($ir['money'] <7000000) { print "You don't have enough money to hire a Riko!"; } else { mysql_query("UPDATE users SET will=will+140,energy=0,money=money-7000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Riko \$7,000,000, took him to the back room and had your way with him. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'mich') { if($ir['money'] <10000000) { print "You don't have enough money to hire a Michelle!"; } else { mysql_query("UPDATE users SET will=will+250,energy=0,money=money-10000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed a Michelle \$10,000,000, took her to the back room and had your way with her. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>"; } } } $h->endpage(); ?> LMFAO.....Enjoy. :mrgreen:
-
Re: !!**Whore House Mod FREE**!! LMAO hope you enjoy it Noelle
-
Description: A player visits the whore house, spends money and uses energy to have sex with a prostitute wich restores a small ammount of will. whorehouse.php <?php /*----------------------------------------------------- -- Whore House v1.0 -- A product of Stage3Gaming -- [url]http://www.stage3gaming.com[/url] -- whorehouse.php -----------------------------------------------------*/ session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); if(!$_GET['spend']) { print "5th Street Whore House Welcome, we have many fine prostitutes here, both male and female. Prices and payment options are listed below. For The Guys </pre> <table border="1" width="90%">ProstituteAgeRacePriceHireApril19White$1,000,000[url='whorehouse.php?spend=april']Hire April[/url]Kelly18White$5,000,000[url='whorehouse.php?spend=kelly']Hire Kelly[/url]Shaniqua23Black$7,000,000[url='whorehouse.php?spend=shan']Hire Shaniqua[/url]Rhonda20White$10,000,000[url='whorehouse.php?spend=rhonda']Hire Rhonda[/url]</table>";<br>print "<br><br><h3>For The Ladies</h3> <br><table border="1" width="90%">ProstituteAgeRacePriceHireMark26White$1,000,000[url='whorehouse.php?spend=mark']Hire Mark[/url]Jason23White$5,000,000[url='whorehouse.php?spend=jason']Hire Jason[/url]Jaquez20Black$7,000,000[url='whorehouse.php?spend=jaq']Hire Jaquez[/url]Matthew29White$10,000,000[url='whorehouse.php?spend=matt']Hire Matthew[/url]</table>";<br>}<br>else<br>{<br>if($_GET['spend'] == 'april')<br>{<br>if($ir['money'] <1000000)<br>{<br>print "You don't have enough money to hire a April!";<br>}<br>else<br>{<br>mysql_query("UPDATE users SET will=will+35,energy=0,money=money-1000000 WHERE userid=$userid",$c);<br>mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c);<br>print "<center>You payed a April \$1,000,000, took her to the back room and had your way with her. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>";<br>}<br>}<br>else if($_GET['spend'] == 'kelly')<br>{<br>if($ir['money'] <5000000)<br>{<br>print "You don't have enough money to hire a Kelly!";<br>}<br>else<br>{<br>mysql_query("UPDATE users SET will=will+70,energy=0,money=money-5000000 WHERE userid=$userid",$c);<br>mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c);<br>print "<center>You payed a Kelly \$5,000,000, took her to the back room and had your way with her. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>";<br>}<br>}<br>else if($_GET['spend'] == 'shan')<br>{<br>if($ir['money'] <7000000)<br>{<br>print "You don't have enough money to hire a Shaniqua!";<br>}<br>else<br>{<br>mysql_query("UPDATE users SET will=will+140,energy=0,money=money-7000000 WHERE userid=$userid",$c);<br>mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c);<br>print "<center>You payed a Shaniqua \$7,000,000, took her to the back room and had your way with her. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>";<br>}<br>}<br>else if($_GET['spend'] == 'rhonda')<br>{<br>if($ir['money'] <10000000)<br>{<br>print "You don't have enough money to hire a Rhonda!";<br>}<br>else<br>{<br>mysql_query("UPDATE users SET will=will+250,energy=0,money=money-10000000 WHERE userid=$userid",$c);<br>mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c);<br>print "<center>You payed a Rhonda \$10,000,000, took her to the back room and had your way with her. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>";<br>}<br>}<br>else if($_GET['spend'] == 'mark')<br>{<br>if($ir['money'] <1000000)<br>{<br>print "You don't have enough money to hire a Mark!";<br>}<br>else<br>{<br>mysql_query("UPDATE users SET will=will+35,energy=0,money=money-1000000 WHERE userid=$userid",$c);<br>mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c);<br>print "<center>You payed a Mark \$1,000,000, took him to the back room and had your way with him. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>";<br>}<br>}<br>else if($_GET['spend'] == 'jason')<br>{<br>if($ir['money'] <5000000)<br>{<br>print "You don't have enough money to hire a Jason!";<br>}<br>else<br>{<br>mysql_query("UPDATE users SET will=will+70,energy=0,money=money-5000000 WHERE userid=$userid",$c);<br>mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c);<br>print "<center>You payed a Jason \$5,000,000, took him to the back room and had your way with him. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>";<br>}<br>}<br>else if($_GET['spend'] == 'jaq')<br>{<br>if($ir['money'] <7000000)<br>{<br>print "You don't have enough money to hire a Jaquez!";<br>}<br>else<br>{<br>mysql_query("UPDATE users SET will=will+140,energy=0,money=money-7000000 WHERE userid=$userid",$c);<br>mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c);<br>print "<center>You payed a Jaquez \$7,000,000, took him to the back room and had your way with him. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>";<br>}<br>}<br>else if($_GET['spend'] == 'matt')<br>{<br>if($ir['money'] <10000000)<br>{<br>print "You don't have enough money to hire a Matthew!";<br>}<br>else<br>{<br>mysql_query("UPDATE users SET will=will+250,energy=0,money=money-10000000 WHERE userid=$userid",$c);<br>mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c);<br>print "<center>You payed a Matthew \$10,000,000, took him to the back room and had your way with him. You feel some of your will comming back to you. [url='index.php']>Home[/url]</center>";<br>}<br>}<br>}<br>$h->endpage();<br Enjoy. :evil:
-
Re: Quick Question wont you gain exp for screwing a goat? :mrgreen: So thats why Tim (M5K) does it :O
-
Re: Mining mod great add. +karma for you
-
Re: Ajax chat script Very nice add bro....+karma for you
-
Re: New Gang Staff Panel(Free) good people like you make these forums way better as some of those game owners dont know how to code and the original gang staff panel is really bad and as soon as you started posting these gang staff panels made our staff panel way better cheers :) Oh and not to forget you deserve one of those Light things lol Thanks man, I try to help people out as much as I can, but there are some mods that I write that I put SO much work into I have to sell them LOL. +1 Karma for you.
-
Re: New Gang Staff Panel(Free) Thanks $hot, I'm constantly doing little improvements like that to my game, making my layout look nice because when your game looks good it shows the players that you care about your game, and that you aren't going to let it go to shit, and I'm always open for improvements on my coding, I love it when someone takes something that I wrote and turns it into something awesome, or at least gets some good use out of it, even if it's nothing but them learning how to do a certain thing. :mrgreen:
-
Re: New Gang Staff Panel(Free) huh
-
Re: help donation No you dont, but if you wanted to, you could do it like this.... if($_GET['to'] == **CITY ID FOR DONATORS ONLY GOES HERE** AND $ir['donatordays'] ==0) { die("Donator Only City You can become a donator and access this city by clicking [url='donator.php']Here[/url] > [url='monorail.php']Back[/url]"); }
-
Re: New Gang Staff Panel(Free) Thanks all :mrgreen:
-
I wasn't happy with the default gang staff panel of MCCodes, or any others that I have found, so I wrote this one, I hope someone will benefit from it. This ONLY works with v1 Find: function gang_staff_idx() { global $ir,$c,$userid,$gangdata; print "[b]General[/b] [url='yourgang.php?action=staff&act2=vault']Vault Management[/url] [url='yourgang.php?action=staff&act2=apps']Application Management[/url] [url='yourgang.php?action=staff&act2=vicepres']Change Vice-President[/url] [url='yourgang.php?action=staff&act2=upgrade']Upgrade Gang[/url] [url='yourgang.php?action=staff&act2=crimes']Organised Crimes[/url] [url='yourgang.php?action=staff&act2=masspayment']Mass Payment[/url] [url='yourgang.php?action=staff&act2=ament']Change Gang Announcement[/url] [url='yourgang.php?action=staff&act2=armoryupgrade']Add Armory Upgrade[/url] [url='yourgang.php?action=staff&act2=itemslent']Items Lent To Members[/url] "; if($gangdata['gangPRESIDENT'] == $userid || $userid==1) { print "[url='yourgang.php?action=staff&act2=pres']Change President[/url] [url='yourgang.php?action=staff&act2=declare']Declare War[/url] [url='yourgang.php?action=staff&act2=surrender']Surrender[/url] [url='yourgang.php?action=staff&act2=viewsurrenders']View or Accept Surrenders[/url] [url='yourgang.php?action=staff&act2=massmailer']Mass Mail Gang[/url] [url='yourgang.php?action=staff&act2=name']Change Gang Name[/url] [url='yourgang.php?action=staff&act2=desc']Change Gang Desc.[/url] [url='yourgang.php?action=staff&act2=tag']Change Gang Tag[/url] [url='yourgang.php?action=staff&act2=picchange']Change Gang Logo[/url]"; } } Replace With: function gang_staff_idx() { global $ir,$c,$userid,$gangdata; print "</pre> <table border="1">FinancialGang WarsManagementPresidential [url='yourgang.php?action=staff&act2=vault']Gang Vault[/url] [url='yourgang.php?action=staff&act2=masspayment']Mass Payment[/url] [url='yourgang.php?action=staff&act2=upgrade']Upgrade Gang[/url] [url='yourgang.php?action=staff&act2=crimes']Organised Crimes[/url] [url='yourgang.php?action=staff&act2=declare']Declare War[/url] [url='yourgang.php?action=staff&act2=surrender']Surrender[/url] [url='yourgang.php?action=staff&act2=viewsurrenders']View Surrenders[/url] [url='yourgang.php?action=staff&act2=apps']Applications[/url] [url='yourgang.php?action=staff&act2=armoryupgrade']Armory Upgrade[/url] [url='yourgang.php?action=staff&act2=itemslent']Items Lent[/url] [url='yourgang.php?action=staff&act2=massmailer']Mass Mail[/url] [url='yourgang.php?action=staff&act2=ament']Edit Announcement[/url] [url='yourgang.php?action=staff&act2=vicepres']Change V.P.[/url] "; if($gangdata['gangPRESIDENT'] == $userid || $userid==1) { print " [url='yourgang.php?action=staff&act2=name']Change Name[/url] [url='yourgang.php?action=staff&act2=desc']Change Desc.[/url] [url='yourgang.php?action=staff&act2=tag']Change Tag[/url] [url='yourgang.php?action=staff&act2=picchange']Change Logo[/url] [url='yourgang.php?action=staff&act2=pres']Change President[/url] </table> <br><br><font color="#FF0000"> >></font>[url='yourgang.php'] Back[/url]";<br> }<br> <---Save as "tableup.jpg" Looks Like: http://notoriousonline.net/gangpanel.jpg <-- Click Me *Note* This panel allows the V.P. to declare war and accept surrenders.
-
Re: help donation ive never thought about making a city donator only, but i guess this is how you would do it....if im wrong, remember, this is just a guess if ($r['cityid'] ==2 && $ir['donatordays'] < 1) { print "You cannot travel here, this city is for donators only. [url='index.php']> Back[/url]"; $h->endpage(); exit; } once again so im clear on this....im not sure about this code, and i have just woke up, so expect the worst lol
-
Re: Black Jack glad ya got it working, lets see it
-
Re: [Lite] Bugget streets v1 Actually made everyone happy because of the market i made for them, the more steps people have, the more they sell, and non donators can buy them, i also have a donator days market so everyone is able to get more steps
-
Re: [Lite] Bugget streets v1 i made a mod to go with this script so users can buy or sell steps on a market similar to crystal market, ill post it later....i also created a way for donators to get more turns than non donators (big hit)....i will post both a little later on
-
Re: Bowling Game yeah, thats pretty much it....i just posted it to save people some time, and give people a little something extra to add to there games, im not trying to take credit for making the game or anything, i just posted it to be helpful and because no one posts anything for free anymore
-
Re: Jail break i wouldnt have posted it if i didnt want people to use it :P enjoy
-
Re: Jail break My version of this..... <?php session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm,0); $h->menuarea(); $bust = rand(1,100); if($ir['energy']<3) { print "You need atleast 3 energy to break out of jail"; $h->endpage(); exit; } else if($ir['jail']<1) { print "How could you bust of of jail if your not in jail?"; $h->endpage(); exit; } else if($bust>50) { mysql_query("UPDATE users SET jail=0 WHERE userid=$userid"); mysql_query("UPDATE users SET energy=energy-3 WHERE userid=$userid"); print "You escaped from the City Jail"; $h->endpage(); exit; } else if($bust<79) { mysql_query("UPDATE users SET energy=energy-3 WHERE userid=$userid"); mysql_query("UPDATE users SET jail=jail+20 WHERE userid=$userid"); mysql_query("UPDATE users SET jailreason='Failed to bust out of jail' WHERE userid=$userid"); print "You got surrounded by Correctional Officers who beat you severely and take you to the Warden. He gives you another 20 minutes in Jail! [url='index.php']> Back[/url]"; $h->endpage(); exit; } ?> edit this line to make it harder or easier... else if($bust>50)
-
Re: Bowling Game found it, and added it to the standard mccodes page, same as putt putt
-
Re: Putt Putt Golf this one is hosted on addictinggames.com you would be using there bandwidth :P
-
I actually wasnt going to post anymore flash games, but this one is to much fun lol....I just played it for 20+ minutes 8-) (im hosting the flash for this on my site, if you would like the flash file let me know) bowling.php <?php /*----------------------------------------------------- -- Pro Bowler (Free Flash Game) -- Converted to work with MCCodes By Genocide -----------------------------------------------------*/ session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); print "Bowling"; print " codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' WIDTH='400' HEIGHT='570' id='bowling2' ALIGN=''> TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'> "; $h->endpage(); ?>
-
Re: Putt Putt Golf cool cool, I just don't want people saying that I'm trying to steal your ideas, or that I'm trying to take business away from you. I might add a couple more of these later.
-
I found a free flash putt putt golf game on addictinggames.com so I added it to my mccodes game, my players enjoy it, hope someone will use it, and I hope Im not stepping on Seanys turf by posting a flash game...(sorry if I am) minigolf.php <?php /*----------------------------------------------------- -- Putt Putt Golf By [url]http://addictinggames.com[/url] -- Converted to work with MCCodes By Genocide -----------------------------------------------------*/ session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); print "Putt Putt Golf"; print " [url='index.php']> Back[/url]"; $h->endpage(); ?> should work with both lite and full
-
Re: Cron Confusion true....I didnt think about those *goes to work*