Payday isn't working
#2

For example:

you timer call Payday every 60sek and you start you timer at 22:31:15
after 60sek
Quote:

//time is 22:32:15
//minute is 32 and second is 15
if(minute == 0 && second == 0)
//after 28min
//time is 23:00:15
//minute is 00 and second is 15
if(minute == 0 && second == 0)

i hope you understand this is not best way to test is one hour pass
may be this way
Quote:

// public new OLD_HOUR;
if(hour != OLD_HOUR)
OLD_HOUR = hour;

Reply


Messages In This Thread
Payday isn't working - by Luis- - 05.04.2013, 01:45
Re: Payday isn't working - by Azazelo - 05.04.2013, 02:11
Re: Payday isn't working - by Luis- - 07.04.2013, 22:52
Re: Payday isn't working - by InfiniTy. - 07.04.2013, 23:21
Re: Payday isn't working - by Pottus - 07.04.2013, 23:30
Re: Payday isn't working - by Luis- - 08.04.2013, 00:25

Forum Jump:


Users browsing this thread: 2 Guest(s)