14.12.2012, 02:07
When you use:
It returns the days since the start of the current year in the date.
If you could get the GetDate stock, you could edit it to return days since a certain date that you choose in a parameter i.e GetDateEx(10,12,1941), multiply the days by 24, then 60 to get the minutes, then compare those on player login to the time in the ban parameter, and see if they're larger or smaller, if larger than player is unbanned, if smaller then player stays banned.
pawn Код:
new variable = GetDate();
If you could get the GetDate stock, you could edit it to return days since a certain date that you choose in a parameter i.e GetDateEx(10,12,1941), multiply the days by 24, then 60 to get the minutes, then compare those on player login to the time in the ban parameter, and see if they're larger or smaller, if larger than player is unbanned, if smaller then player stays banned.