Expiry
#2

Like this? Also what does the macro mounth do? And where the value 2592000 came from?

Код:
new expiretime = PlayerInfo[playerid][pVipTime] - gettime();
EDIT:

Oh ok, so 2592000 means 30 days.

Then it'd be something like:

Код:
new expiretime = (PlayerInfo[playerid][pVipTime] - gettime()) / 86400;
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.
Reply


Messages In This Thread
Expiry - by SpaceRP - 17.03.2017, 11:33
Re: Expiry - by Toroi - 17.03.2017, 11:40
Re: Expiry - by SpaceRP - 17.03.2017, 11:53
Re: Expiry - by Toroi - 17.03.2017, 12:01

Forum Jump:


Users browsing this thread: 1 Guest(s)