Time Account Delete
#4

Quote:
Originally Posted by sampkinq
Посмотреть сообщение
How do I make cleanup
Khalid just told you. Save their last login date with getdate() (or gettime() for easier calculations) when they log in, and make some function that calculates the current unix timestamp (https://sampforum.blast.hk/showthread.php?tid=254915) goes through all accounts and calculates if difference between the current timestamp and the last login timestamp is 1,296,000 (15 days). Then, do whatever you want with it.
Reply


Messages In This Thread
Time Account Delete - by sampkinq - 17.08.2015, 15:37
Re: Time Account Delete - by [KHK]Khalid - 17.08.2015, 16:08
Re: Time Account Delete - by sampkinq - 17.08.2015, 16:12
Re: Time Account Delete - by arad55 - 17.08.2015, 16:37
Re: Time Account Delete - by prineside - 17.08.2015, 16:39
Re: Time Account Delete - by sampkinq - 17.08.2015, 17:01

Forum Jump:


Users browsing this thread: 1 Guest(s)