17.03.2017, 11:40
Like this? Also what does the macro mounth do? And where the value 2592000 came from?
EDIT:
Oh ok, so 2592000 means 30 days.
Then it'd be something like:
86400 means a day in seconds, you're retrieving the days left here. Or that's what I think it does. I never went to school.
Код:
new expiretime = PlayerInfo[playerid][pVipTime] - gettime();
Oh ok, so 2592000 means 30 days.
Then it'd be something like:
Код:
new expiretime = (PlayerInfo[playerid][pVipTime] - gettime()) / 86400;