Jump to content
MakeWebGames

sniko

Members
  • Posts

    2,210
  • Joined

  • Last visited

  • Days Won

    47

Everything posted by sniko

  1. Thanks   LoL - We all started somewhere...
  2. I was a member of Ex-MWG (CriminalExistence) but when CE changed to MWG i lost my account, anyway, i have made a new account. Desc. of myself I am 15 years old and i put all of my mccodes work on forums for free, i take requests but code them at my own pace as i am busy with schoolwork and SpiedeX (View signature on spiedex if interested) Anyway, i just wanted to let y'all know New Account Name: Sniko I am Also: Sniko` - Account Unrecoverable - Sniko
  3. wow, cool, nice jobe well done
  4. DomPrize = day of month prize Basically, it randomizes a day from a month and if you go on that page on the right day you get a prize! domprize.php <?php include "globals.php"; if($ir['domprize'] == 0) { print "You have had your prize for this month!"; exit(); } $day = rand(1,31); if(date("d") == $day) { $money = rand(100,10000); print "You got a prize for coming on this page on the ". date($day) ." of this month!"; $db->query("UPDATE users SET money=money+{$money},domprize=0 WHERE userid=$userid"); } else { print "No Prize"; $db->query("UPDATE users SET domprize=0 WHERE userid=$userid"); } ?>   Now make a file called cron_month.php open up cron_fivemins.php and copy that code open up cron_month and paste the code, and add   $db->query("UPDATE users SET domprize=1");   ALTER TABLE users ADD domprize INT(11) DEFAULT 1 NOT NULL;   Simple I know
×
×
  • Create New...