Hello guys!
I´m currently developing a hacking/simulation/rpg. I want to implement a feature, that reload the items in the shop every 12 hours so I need to look at the date and time everytime I enter the shop.
Example:
- 12am(12:00), new Shop items
- 11pm(23:00), no new items
- 12pm(24:00), new Shop items
In order to prevent cheating, I think I need this server based but it would be fine, if it works offline for now. I couldn´t find anything about date or time.
Any ideas?
Thanks in advance!