Disable the Account
#4

I don't know what should I show more than this.

It's enough.
getdate() returns the number of days passed since the beginning of the year.
So if you add 5 days to getdate(), it will be (getdate() + 5).
Each time the player will connect, we'll check if the var DaysBanned, which contains (getdate() + 5) is superior to getdate(). If it is, it means that the player is still banned. If it's not, then the player will be able to connect normally.
Reply


Messages In This Thread
Disable the Account - by arlindi - 08.06.2014, 18:52
Re : Disable the Account - by S4t3K - 08.06.2014, 19:08
Re: Disable the Account - by arlindi - 08.06.2014, 19:18
Re : Disable the Account - by S4t3K - 08.06.2014, 19:36
Re: Disable the Account - by arlindi - 08.06.2014, 19:38
Re : Disable the Account - by S4t3K - 08.06.2014, 19:46
Re: Disable the Account - by arlindi - 08.06.2014, 19:57
Re: Disable the Account - by arlindi - 09.06.2014, 12:18

Forum Jump:


Users browsing this thread: 6 Guest(s)