10.10.2010, 09:38
Quote:
Quote:
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. |