Losing property after X days (rep) - 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: Losing property after X days (rep) (
/showthread.php?tid=312599)
Losing property after X days (rep) -
SnG.Scot_MisCuDI - 22.01.2012
I use PPC_HOUSING and i want to make it so if a player doesnt visit it for 14 days it makes that player not own it anymore. I can paste the script here if u want to edit it
Re: Losing property after X days (rep) -
coole210 - 22.01.2012
Does it use mysql or flat files?
Either way, you have to save the time the player buys the house and compare it every hour/day/week etc..
Re: Losing property after X days (rep) -
jamesbond007 - 22.01.2012
probably make global timer then check all players for time the house visited and current time