How do you make a Game like Bootleggers.us in php?

Discussion in 'PHP' started by NewTier, Jun 4, 2007.

  1. #1
    Just curious how it would work,
    how can you make the crime function?
     
    NewTier, Jun 4, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    Well I don't plan to sign up and see what you're talking about. Can you specify "crime function"? And be generally more specific?
     
    nico_swd, Jun 4, 2007 IP
  3. decepti0n

    decepti0n Peon

    Messages:
    519
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If i remember right (hope I do) they have a time limit each crime

    After users do the crime, just update the database with a timestamp (use strtotime) and each page load should check this against the current time. If the current time is greater, you can allow them to do another crime.
     
    decepti0n, Jun 4, 2007 IP