08.01.2015, 09:56
For the similar thing I made this https://sampforum.blast.hk/showthread.php?tid=553377
Have a look at it, its similar to timestamps but in days only so
So according to your script it will be something like this -
Have a look at it, its similar to timestamps but in days only so
So according to your script it will be something like this -
pawn Код:
new diffrence = DateToJulian(todayY, todayM, todayD)-DateToJulian(sYear, sMonth, sDay);
if(diffrence >= 60)//60 days
{
//inactive for two months
}