Hi i was wondering if someone would be able to help me with a c# timer that counts down while the user is offline and while they are online like a lottery timer my timer dosent work for people being offline this is the code i use:
and i tried system timers but when it says you have to wait 1023452 minutes or something and i cant fix it so if anyone can help it will be appreciated thanks guys
Just to make it more clear, While the user is offline it will count down and update their txt user file.
LottoTimer = (int)Math.Round((new Random().NextDouble() + .1) * 3600);
and i tried system timers but when it says you have to wait 1023452 minutes or something and i cant fix it so if anyone can help it will be appreciated thanks guys
Just to make it more clear, While the user is offline it will count down and update their txt user file.