18.08.2016, 18:57
Well this is the best way:
Using: http://forum.sa-mp.com/showpost.php?...50&postcount=3
Save date in 3 vars
To check:
Its still easy!
Using: http://forum.sa-mp.com/showpost.php?...50&postcount=3
Save date in 3 vars
pawn Код:
new day, month, year;
getdate(year, month, day);
pawn Код:
new todayyear, todaymonth, todayday;
getdate(todayyear, todaymonth, todayday);
if ((rdn(todayyear, todaymonth, todayday) - rdn(year, month, day)) > 30)
{
// Expired
}

