Player crash upon reconnect. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Player crash upon reconnect. (
/showthread.php?tid=637233)
Player crash upon reconnect. -
iLearner - 11.07.2017
Hello,
I have implemented a system to restart the server, what it does is crash the server and start it again so that players can connect again without the need of disconnecting/reconnecting but the idea seems to fail cause when players start connecting they will all crash which is a pain in the ass, I have no idea what causes that kind of (once disconnected / timedout must close game and reopen) crash? I don't have much code under OPC, most of code is under WhenLogin callback.
Re: Player crash upon reconnect. -
iLearner - 11.07.2017
Nvm I solved it myself like always.
Had some RemoveBuildingForPlayer lines under OPC (in a func)