No matter what I do, I always experience overflow and slippage problems. Is there a practical solution or advice? What path should be followed? I use layout structure.
note. It will be good if it works smoothly in all resolutions.
@rokiroki I would use a while loop and compare the current date with the time it should run (VAR_RUNAT = current + 2 hours) WHILE (currenttime < VAR_RUNAT) sleep(1000)! , or a for and compare the index with sleep. I.e i < 5 sleep(60000)! Would sleep 5 minutes.