How to make server not close when needed. - 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: How to make server not close when needed. (
/showthread.php?tid=446472)
How to make server not close when needed. -
pasha97 - 26.06.2013
Hello. There is a 1 minute timer in my gm which updates a map every minute. But if the server is closed when the updating is not finished, some information can be lost. So I'm searching for the way to prevent server closing when the updating is not finnished. Is it possible? Thanks in advance.
Re: How to make server not close when needed. -
GODEX - 26.06.2013
Ummm..... You realise, once the server is closed/shutdown, timers and all functions get called off right?
If thats not what you meant, explain it more
Re: How to make server not close when needed. -
pasha97 - 26.06.2013
Quote:
Originally Posted by GODEX
Ummm..... You realise, once the server is closed/shutdown, timers and all functions get called off right?
If thats not what you meant, explain it more
|
That's the problem. When the map updation is not finnished, it gets called off and some data is not saved. So i need to prevent server from closing when the mup apdation is not finnished.