22.03.2018, 19:00
There can be multiple approaches to this:
1. (Do not try approach) Run a timer every few seconds and get the time and compare it to 6 and then give them some money.
2. (Efficient approach) On server start, get current time and minutes, do calculation and get the time when 6'o clock "will happen", set a timer with the "time" you got and tadaah!!! you made it.
1. (Do not try approach) Run a timer every few seconds and get the time and compare it to 6 and then give them some money.
2. (Efficient approach) On server start, get current time and minutes, do calculation and get the time when 6'o clock "will happen", set a timer with the "time" you got and tadaah!!! you made it.