VIP status that last 30 days
#2

Save the date when you made him/her VIP:
pawn Код:
new variable = getdate();
// So you have saved this variable and loaded when player connected.

When player connects:
pawn Код:
public OnPlayerConnect(playerid)
{
    if ((getdate() - variable) > 30)
    {
        // VIP expired
    }
}
Reply


Messages In This Thread
VIP status that last 30 days - by ax1 - 18.08.2016, 17:31
Re: VIP status that last 30 days - by Gammix - 18.08.2016, 17:39
Re: VIP status that last 30 days - by ax1 - 18.08.2016, 17:59
Re: VIP status that last 30 days - by Gammix - 18.08.2016, 18:14
Re: VIP status that last 30 days - by ax1 - 18.08.2016, 18:17
Re: VIP status that last 30 days - by Gammix - 18.08.2016, 18:57
Re: VIP status that last 30 days - by SKAzini - 18.08.2016, 22:01
Re: VIP status that last 30 days - by Stuntff - 18.08.2016, 22:40

Forum Jump:


Users browsing this thread: 1 Guest(s)