07.12.2010, 02:30
Use gettime() without any variables to retrieve a unix timestamp, store the returned value from gettime() in your HouseInfo[id][hLastVisitD] variable and perform a loop of all houses every 2 weeks, or every time your server starts and see whether the last visit date was over 1209600 seconds ago (basically, unix timestamps return the time since Jan 1 1970, perform a check to see whether the last visit date was 2 weeks ago).
I apologize if I failed to explain this properly.
I apologize if I failed to explain this properly.

