payday hour
#3

set a global variable eg 'new lasthour' under gamemode init, set it to the server time hour
Put gettime(hour,minute,second) under a 60 second timer
check if hour > lasthour in the timer, if it is, call your payday function
at the end of the payday function, set lasthour to hour.
Reply


Messages In This Thread
payday hour - by FrankC - 10.10.2010, 09:22
Re: payday hour - by Pawno_Master - 10.10.2010, 09:28
Re: payday hour - by Rachael - 10.10.2010, 09:28
Re: payday hour - by FrankC - 10.10.2010, 09:38

Forum Jump:


Users browsing this thread: 1 Guest(s)