Hello guys.
I've been needing a small answer to my question for a while. My question is
" How do I make it so if you click on the button once, it says a certain message and if you try clicking it again, it says something different? Then after 24 hours it resets back to the first message? "
For example. I am creating a program that gives a certain amount of GP to a game. Well I am trying to make it so if they click on a certain amount of GP, they can only click on it once every 24 hours. So the first message is "Congratulations, you now have " GP ADDED" to your account.".
If they clicked it already it says "Sorry, you have already earned your desired amount of GP today, please come back in 24 hours for some more."
Please help me A.S.A.P
I've been needing a small answer to my question for a while. My question is
" How do I make it so if you click on the button once, it says a certain message and if you try clicking it again, it says something different? Then after 24 hours it resets back to the first message? "
For example. I am creating a program that gives a certain amount of GP to a game. Well I am trying to make it so if they click on a certain amount of GP, they can only click on it once every 24 hours. So the first message is "Congratulations, you now have " GP ADDED" to your account.".
If they clicked it already it says "Sorry, you have already earned your desired amount of GP today, please come back in 24 hours for some more."
Please help me A.S.A.P