SA-MP Forums Archive
HELP ME!! - 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: HELP ME!! (/showthread.php?tid=647301)



HELP ME!! - Johangelo1 - 03.01.2018

Why does my server shut down every so often? Many have told me that it can be a crash in the gamemode that causes the server to shut down, but how can I find it? I put the crashdetect plugin and I do not show any error, everything is fine. What could it be?


Re: HELP ME!! - RogueDrifter - 03.01.2018

Quote:
Originally Posted by Johangelo1
Посмотреть сообщение
Why does my server shut down every so often? Many have told me that it can be a crash in the gamemode that causes the server to shut down, but how can I find it? I put the crashdetect plugin and I do not show any error, everything is fine. What could it be?
Start off by summing up your filterscripts if you got any into one gamemode then optimize that gamemode by removing excessive if statements and replace with switch then remove unused variables and use proper indentation to be able to read your code while you search for it, make sure that it isn't an improper file handle cuz that crashes the server make sure you don't have GameModeExit(); in ur code that is causing the gamemode to exit lol yeah that's all i got, good luck.