SA-MP Forums Archive
"Server Closed Connection" - 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: "Server Closed Connection" (/showthread.php?tid=339061)



"Server Closed Connection" - Ryandacod6 - 02.05.2012

This happens right after spawning.
I heard you have to put SetSpawnInfo before OnSpawn or something like that, but I don't have SetSpawn info anywhere in my script, but it says its already been defined.
I tried CTRL + F and searching for SetSpawnInfo but I can't find it.

All in all, why is Server closing connection right after I spawn, and How do I fix it?


Re: "Server Closed Connection" - Passout - 02.05.2012

Lets see your "onplayerspawn" and what pawno includes are you using?


Re: "Server Closed Connection" - Guest9328472398472 - 02.05.2012

Quote:
Originally Posted by Ryandacod6
View Post
This happens right after spawning.
I heard you have to put SetSpawnInfo before OnSpawn or something like that, but I don't have SetSpawn info anywhere in my script, but it says its already been defined.
I tried CTRL + F and searching for SetSpawnInfo but I can't find it.

All in all, why is Server closing connection right after I spawn, and How do I fix it?
Try searching for "OnPlayerSpawn". Somewhere in there could be a coding error, causing things not to function as they're suppose to.


Re: "Server Closed Connection" - Slix_ - 02.05.2012

Please verify twice and thrice if your includes do not have anything related to your problem, pretty positive that it should be one of your includes.

I recommend you posting this problem in your include's SA:MP forum thread page for maximized support.


Re: "Server Closed Connection" - Plastic - 02.05.2012

Maybe you have a faulty anti-airbreak anti-cheat