1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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

    Likes Received:
    Best Answers:
    Trophy Points:
    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

    Likes Received:
    Best Answers:
    Trophy Points:
    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