VIP Temporary help!
#2

you should use timestamp for this.
instead of saving the data, save the timestamp
Код:
expiretimestamp = gettime() + TOTAL DAYS HE WILL BE VIP * 24 * 60 * 60;
// remove the TOTAL DAYS HE WILL BE VIP to the days he will be vip.
// save expiretimestamp into the dini as 'vipdate'
Код:
// For exampe at every login you use this:
if(dini_Int(path,"vipdate") < gettime())
{
  // expired
}
Reply


Messages In This Thread
VIP Temporary help! - by RyanPetersons - 03.10.2012, 11:01
Re: VIP Temporary help! - by Roel - 03.10.2012, 11:27

Forum Jump:


Users browsing this thread: 1 Guest(s)