Jump to content
MakeWebGames

Activated From Click?


Faz`

Recommended Posts

Okay, I am currently making a mod. Now, I want it, so when the user takes the first go, then the hour starts, but I am currently struggling on how to make that happen. I know what the first thing would be, if{$ir['easterturns']}<=24 but I do not know what would come after this. Would anyone care to help? Thanks.

Link to comment
Share on other sites

Re: Activated From Click?

 

Okay, I am currently making a mod. Now, I want it, so when the user takes the first go, then the hour starts, but I am currently struggling on how to make that happen. I know what the first thing would be, if{$ir['easterturns']}<=24 but I do not know what would come after this. Would anyone care to help? Thanks.

First, why are you using curly braces {} instead of brackets () on your if statement..

Second, you will need to use either 2 db rows and a cron, or sessions..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...