{HELP} CRASHING - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: {HELP} CRASHING (
/showthread.php?tid=178731)
{HELP} CRASHING -
MatthewGarrow - 23.09.2010
Hey i have a big problem i host my own server on my computer sometimes it will crash in the night or ill restart it to fix a bug and then the poeple that where on it will loose there levels and there money and stuff how do i fix this?
Re: {HELP} CRASHING -
DarrenReeder - 23.09.2010
Is it a custom made script? or a released script on the forums?
Re: {HELP} CRASHING -
Hiddos - 23.09.2010
This is probably due to a GMX that you're doing. Here's a tip for you:
Save all player accounts BEFORE the GMX (You'll need to make your own command for that though lol)
Log ALL players out.
Gmx!
Re: {HELP} CRASHING -
MatthewGarrow - 23.09.2010
its a cutom made one and it still dont make sence becuse what if it crashes it still will erase there stuff
Re: {HELP} CRASHING -
DarrenReeder - 23.09.2010
Basicly you need to save the accounts before they disconnect...
So go to OnPlayerDisconnect and make it so that it saves all the accounts under that callback so when they disconnect, they will save first...
understand?