House - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: House (
/showthread.php?tid=605079)
House -
StR_MaRy - 14.04.2016
is possible to make a house to be on sell if the owner didn't connect on server 1 weak ?
Re: House -
TheHonnor - 14.04.2016
Week *
Of course you can do that. It should be simple if you're using MySQL..
Re: House -
OmegaKiller72 - 14.04.2016
record the last date player entering the server, and add +7 days than sell
Re: House -
Vanter - 14.04.2016
also simple if you're using y_ini
record when was the house last visited in the house ini file.
then create any general timer in your gamemode for (1/2 real life hours, my opinion if u have a busy server)
to loop through houses and check when was the last house visit ( > < =< >=) and these signs will be your key to do it.
Actually, I'm going to do it now in my server's house system.