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



Server Close Connection - FinalxT - 29.04.2012

I hosted a server and when I typed in my password and pressed login the server connection just closes. On the command box, it shows that I left the server.


Re: Server Close Connection - ReneG - 29.04.2012

Make sure the script doesn't call SpawnPlayer before SetSpawnInfo.


Re: Server Close Connection - FinalxT - 29.04.2012

SetSpawnInfo doesnt exist in the GM?


Re: Server Close Connection - ReneG - 29.04.2012

Then there is most likely your problem.


Re: Server Close Connection - FinalxT - 29.04.2012

Whats SetSpawnInfo


Re: Server Close Connection - FinalxT - 30.04.2012

Help? What is SetSpawnInfo?


Re: Server Close Connection - MP2 - 30.04.2012

https://sampwiki.blast.hk/wiki/SetSpawnInfo

Use it before SpawnPlayer(). (This is fixed in 0.3e).