Reset stats every week

Сообщения
12
Реакции
3
Greetings. I'd like to ask if there is any way I can count weeks and reset player stats? I think I can do something like that to get the current day of the week:

Код:
new currentDay[8]
get_time("%w",currentDay,8)
client_print(0,3,"The current day of the week is: %s", currentDay)
But how would I count weeks? Like if the current day is Sunday and the time is 23:59 or something like that?
 

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу