Jump to content
MakeWebGames

pspotential

Members
  • Posts

    64
  • Joined

  • Last visited

    Never

Everything posted by pspotential

  1. Re: A Few Things I Want To Ask....... ok number 1: thnx number 2 where do i add this number 3: how do i do tht would be easy if you were on msn golden :P
  2. Re: 3 Word Game cuz they taste
  3. Re: Backwards - sdrawkcaB taht gniod eb dessa gniod tndluoc
  4. Re: WOT SERVER SHALL I USE, PLEASE LOOK   i no a justfreespace site tht had crons on it
  5. First is n00by as hell but 1.how do i check a items id number 2.is there any way to be able to use a item you need a other certain item eg: to use cocaine you need a crack pipe 3.how do you make it so tht you can use a item and it stays in your inventory
  6. Re: So , What Do I Do Now???????????????????????????????????????????? y have a site if you dont know how to install it , it should have come with instructions
  7. Re: WOT SERVER SHALL I USE, PLEASE LOOK ffs just use justfreespace.com
  8. Re: Streets.php and cyberbank.php help thnx + 1
  9. Re: Streets.php and cyberbank.php help bump
  10. Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] thnx everyone who helped and of course stryker for the mod lol
  11. Re: Streets.php and cyberbank.php help yo i have the same second error can you debug it for me deathstar thnx <?php include "globals.php"; print "<h3>Cyber Bank</h3>"; if($ir['cybermoney']>-1) { switch($_GET['action']) { case "deposit": deposit(); break; case "withdraw": withdraw(); break; default: index(); break; } } else { if(isset($_GET['buy'])) { if($ir['money']>9999999) { print "Congratulations, you bought a bank account for \$10,000,000! [url='cyberbank.php']Start using my account[/url]"; $db->query("UPDATE users SET money=money-10000000,cybermoney=0 WHERE userid=$userid"); } else { print "You do not have enough money to open an account. [url='explore.php']Back to town...[/url]"; } } else { print "Open a bank account today, just \$10,000,000! [url='cyberbank.php?buy']> Yes, sign me up![/url]"; } } function index() { global $db,$ir,$c,$userid,$h; print "\n[b]You currently have \${$ir['cybermoney']} in the bank.[/b] At the end of each day, your bank balance will go up by 7%. <table width='75%' border='2'> <tr> <td width='50%'>[b]Deposit Money[/b] It will cost you 15% of the money you deposit, rounded up. The maximum fee is \$1,500,000.<form action='cyberbank.php?action=deposit' method='post'> Amount: <input type='text' name='deposit' value='{$ir['money']}' /> <input type='submit' value='Deposit' /></form></td> <td> [b]Withdraw Money[/b] It will cost you 7.5% of the money you withdraw, rounded up. The maximum fee is \$750,000.<form action='cyberbank.php?action=withdraw' method='post'> Amount: <input type='text' name='withdraw' value='{$ir['cybermoney']}' /> <input type='submit' value='Withdraw' /></form></td> </tr> </table>"; } function deposit() { global $db,$ir,$c,$userid,$h; $_POST['deposit']=abs((int) $_POST['deposit']); if($_POST['deposit'] > $ir['money']) { print "You do not have enough money to deposit this amount."; } else { $fee=ceil($_POST['deposit']*15/100); if($fee > 1500000) { $fee=1500000; } $gain=$_POST['deposit']-$fee; $ir['cybermoney']+=$gain; $db->query("UPDATE users SET cybermoney=cybermoney+$gain, money=money-{$_POST['deposit']} where userid=$userid"); print "You hand over \${$_POST['deposit']} to be deposited, after the fee is taken (\$$fee), \$$gain is added to your account. [b]You now have \${$ir['cybermoney']} in the Cyber Bank.[/b] [url='cyberbank.php']> Back[/url]"; } } function withdraw() { global db,$ir,$c,$userid,$h; $_POST['withdraw']=abs((int) $_POST['withdraw']); if($_POST['withdraw'] > $ir['cybermoney']) { print "You do not have enough banked money to withdraw this amount."; } else { $fee=ceil($_POST['withdraw']*75/1000); if($fee > 750000) { $fee=750000; } $gain=$_POST['withdraw']-$fee; $ir['cybermoney']-=$gain; $db->query("UPDATE users SET cybermoney=cybermoney-$gain, money=money+$gain where userid=$userid"); print "You ask to withdraw $gain, the teller hands it over after she takes the bank fees. [b]You now have \${$ir['cybermoney']} in the Cyber Bank.[/b] [url='cyberbank.php']> Back[/url]"; } } $h->endpage(); ?>
  12. Re: [mccode v2] Crystal Reserve Mod FREE VERSION [/mccode v2] when i run the query i get this error #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NOTNULL -1' at line 1
  13. Re: SPECIAL ATTACK villain
  14. Re: Please Help Me !!! does not matter fixed it well somebody did for me
  15. Re: Please Help Me !!! well i dont no i uploaded the header.php and the image came on i might change it to a better one but first i want to fix this problem so does anybody know what is wrong and how i can fix it
  16. Re: Please Help Me !!! no he gave me his header.php
  17. well my problem is when ever somebody attacks somebody else and win they go to hospital for running from a fight even thou they did not run this only happens with the two options leave them and hospitalize them when you press mug them its all ok its just with them two attack options have a look at the screen shot below
  18. Re: Getting Rid of the 2.147 bil cap in MCcode BUMP plz sum1 reply
  19. well somebody called ectacy sold me a mod for $5 and he said it was the marital mod for v2 and i installed it but i later found out from the help of somebosy else tht is was a v1.0 mod so im really pissed off and hes not answering my emails or anything so im wondering if any body can tell me how to convert it
  20. Re: how the hell do you use codes properly no you open the php files and replace the code
  21. Re: Getting Rid of the 2.147 bil cap in MCcode   i get this when i try to run it #1060 - Duplicate column name 'money'
  22. Re: TwIsTeD WiShEs ! Granted, all the other sytems bankrupt and get destroyed and you cant afford a nintendo i wish fpr giant monster that cant hurt any body and is in a cage all its life and never dies it doesnt have emotions and thats how i like it
  23. Re: FIRST THOUGH! elephant
  24. Re: Counting (nr game) 1288
  25. Re: Guess the next poster nope haha hmm maybe KillalottheKiller
×
×
  • Create New...