Jump to content
MakeWebGames

Ben-Nasha

Members
  • Posts

    149
  • Joined

  • Last visited

Everything posted by Ben-Nasha

  1. Copy code How can i make it so theres more things to shoot?
  2. copy code okay dayo :thumbsup:
  3. tips please post me some tips...
  4. teach me pudda go on msn and i want you toy teach me some stuff please like the bit of code that makes you randomly go to jail somes and some times it lets succed or the bit of code that makes you lose money sometimes. i want to add little things like that to my mods to make them abit better
  5. edit yes it is abit but i use if (isset($_GET['ben'])) i will use in most my mods
  6. rushing i dont rush
  7. testing sorry pudda
  8. errors sorry i think theres a few errors...
  9. me to i think lol
  10. <?php include "gloabals.php"; if (!isset($_GET['ben'])) { print" Sleep time Go to sleep <a href='sleep.php?ben==sleep>Go to sleep</a> } else { if (!isset($_GET['ben'] ==sleep) } $outcome=rand=(1,2); $cash=rand(100,1000); $strength=rand(1,10); if ($outcome==1) { echo"You get a good night sleep, you also get some cash in the morining by a nobody"; $db->query("UPDATE userstats SET strength=strength+ $strength WHERE userid=$userid"); $db->query("UPDATE users SET money=money+ $cash WHERE userid=$userid"); } if ($outcome==2) { echo"You get woke up and had a terrible night sleep!"; $db->query("UPDATE userstats SET strength=strength- $strength WHERE userid=$userid"); { $h->endpage(); ?>   NOTE: Untested
  11. i made this this mod i really did make
  12. Cron i did have a cron have it but i forgot it
  13. Sweet shop I can try the sweet shop but it would be very simple...
  14. on my shooting mod there is only one optoin and that is to shoot a man but i want more optoind added but i dont no how to so please post the bit of code on here   thanks Ben
  15. This is my frist mod and very very basic!   <?php include "globals.php"; if ($ir['shooting'] == 0) { die ("you have already shot today come back tommorow"); } if (!isset($_GET['ben'])) { print"<h3>Shooting</h3> [i]DESCIPRTOIN HERE.[/i] [url='shooting.php?ben=shooting']Shoot man[/url] "; } else { if ($_GET['ben'] == 'shoot') { $strength=rand(5,10); $cash=rand(50,100); print"You shot the man and gained some stuff!"; $db->query("UPDATE userstats SET strength=strength+ $strength WHERE userid=$userid"); $db->query("UPDATE users SET money=money+ $cash WHERE userid=$userid"); $db->query("UPDATE users SET shooting=shooting-1 WHERE userid=$userid"); } } } else { You failed } $h->endpage(); ?> ------------------------------ Copyright Name: Shooting mod Mod type: Free Madr by Ben-Nasha(ben nash) -------------------------------------   Put this in cron_day.php   $db->query("UPDATE users SET shooting=8 WHERE shooting<7");   This is the sql   ALTER TABLE `users` ADD `shooting` INT( 11 ) NOT NULL DEFAULT '5'; Give me ways to improve... :thumbup:
  16. RE: New header   sorry the the multi post ppl.
  17. I need a nice looking and different header.php for my game if you can do this for free please pm.
  18. I need a header.php done for my game if any one will do this for free please pm... :rolleyes:
  19. i need a register.php making for free please add me on msn if you can do this [email protected][/email].uk'][email protected]
  20. No i thought of it
  21. I want help to make this little mod where you can exchange health, will and energy for cash. :)
  22. if you will code for free add me on msn [email protected][/email].uk'][email protected] please.
  23. I will code for you (free)
  24. Im gonna buy this when my paypal is fixed!
×
×
  • Create New...