i need mccodes Posted November 13, 2007 Posted November 13, 2007 Firstly make a new file called: date.php <?php include "globals.php"; if(!$ir['married']) { die("You cant date, you're not even married"); } print "<h3>Dating</h3>"; $q=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid={$ir['married']}", $c); $mr=mysql_fetch_array($q); switch ( $_GET['action'] ) { case "park1": park1(); break; case "park": park(); break; case "dinner1": dinner1(); break; case "dinner": dinner(); break; default: idx(); break; } function idx() { print <<<EOF <table width='70%' border=2> <tr style='background-color:grey;'><th>Place</th><th>Cost</th></tr> <td>Go To The Park</td><td>$100,000</td> <tr> <td>Go Out For A Meal</td><td>$500,000</td> </table> EOF; } function park1() { print "Are you sure you want to take your partner to the park? Yes No "; } function park() { global $ir, $mr, $c, $userid, $h, $fm; if($ir['money'] < 100000) { die("You don't have enough money to go on a date. > Back"); } $k=money_formatter($with); mysql_query("UPDATE users SET energy=energy+10 WHERE userid={$mr['userid']}", $c); mysql_query("UPDATE users SET money=money-100000, brave=brave+10 WHERE userid={$ir['userid']}", $c); event_add($mr['userid'],"Your partner {$ir['username']} took you on a nice date to the park", $c); print "You take your partner on a nice date to the park. The birds are chirping and the sun is shining.You and your partner start to feel in a better mood. > Back"; } function dinner1() { print "Are you sure you want to take your partner out for a meal? Yes No "; } function dinner() { global $ir, $mr, $c, $userid, $h, $fm; if($ir['money'] < 500000) { die("You don't have enough money to go on a date. > Back"); } mysql_query("UPDATE users SET will=will+40 WHERE userid={$mr['userid']}", $c); mysql_query("UPDATE users SET money=money-500000 WHERE userid={$ir['userid']}", $c); event_add($mr['userid'],"Your partner {$ir['username']} took you out to dinner at a elegant restaurant .", $c); print "You walk with your partner to a nearby restaurant. The waiter seats you at a table near the window.You and your partner enjoy a nice evening at together. > Back"; } print " "; $h->endpage(); ?> Then open partner.php Find : <td>> Send Your Love</td> After That Add : <td>> Take Partner On A Date</td> Then Your All Done :P :P Quote
gurpreet Posted November 13, 2007 Posted November 13, 2007 Re: [v2]Take Your Partner On A Date[v2] Dude this has already been posted!!! :evil: :x :x Quote
i need mccodes Posted November 14, 2007 Author Posted November 14, 2007 Re: [v2]Take Your Partner On A Date[v2] Dude this has already been posted!!! :evil: :x :x Sorry if this already been posted :( i havent seen it around Quote
Klikoka Posted November 14, 2007 Posted November 14, 2007 Re: [v2]Take Your Partner On A Date[v2] Its The Exact Code Quote
Satans_Pimp Posted November 15, 2007 Posted November 15, 2007 Re: [v2]Take Your Partner On A Date[v2] I like the idea of this but maybe i will "TRY" to make it where you and your partner needs to talk or relation ship points go down and going on a date brings the points up Quote
iseeyou94056 Posted January 26, 2008 Posted January 26, 2008 Re: [v2]Take Your Partner On A Date[v2] i made a better one if anyone wants me to post it tell me Quote
HITMAN 17 Posted February 14, 2008 Posted February 14, 2008 Re: [v2]Take Your Partner On A Date[v2] i made a better one if anyone wants me to post it tell me well if its much better ye plz Quote
Strats Posted February 18, 2008 Posted February 18, 2008 Re: [v2]Take Your Partner On A Date[v2] Nice mod :-) Quote
iseeyou94056 Posted February 21, 2008 Posted February 21, 2008 Re: [v2]Take Your Partner On A Date[v2] no better i will just add the add ons in here when i get some time 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.