Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Threaded Mode
Losing property after X days (rep)
SnG.Scot_MisCuDI
Gangsta
Posts: 883
Threads: 131
Joined: Mar 2011
Reputation:
0
#1
22.01.2012, 03:01
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
Find
Reply
coole210
Gangsta
Posts: 995
Threads: 71
Joined: Jul 2008
Reputation:
0
#2
22.01.2012, 03:13
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..
Find
Reply
jamesbond007
Gangsta
Posts: 791
Threads: 65
Joined: Oct 2009
Reputation:
0
#3
22.01.2012, 03:34
probably make global timer then check all players for time the house visited and current time
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help