20.03.2016, 18:06
I would do it like this:
This would use unix timestamps to get the given date (search the forums if you don't know what those are) and you could check if gettime() is greater than the date under OnPlayerConnect or some timer with fixed interval like few minutes or something.
pawn Код:
new VIPExpire[MAX_PLAYERS];
// under command for giving a vip status
VIPExpire[playerid] = gettime() + days * 86400; // 86400 seconds = one day