SA-MP Forums Archive
[Help] Server closed the connection - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: [Help] Server closed the connection (/showthread.php?tid=564071)



[Help] Server closed the connection - MateiMatei - 19.02.2015

Hi everyone. I have a very big problem.
I have a server on 0.3z and when me or someone else press ESC or CANCEL button in the dialog box, they're disconnected with mesaje: Server closed the connection. My Gamemode dont have any error / warnings. Everything it's OK

Please help me .. i am desperate.. I dont know what to do..

Thanks in advance

PS: Sorry for my bad english

Have a nice day !


Re: [Help] Server closed the connection - CalvinC - 19.02.2015

Your script kicks people when they click cancel then.
If you don't want it, remove "Kick" or something like that in OnPlayerDialogResponse.


Re: [Help] Server closed the connection - MateiMatei - 19.02.2015

Thanks a lot, mate !! U save me I have to delete
Код:
	else
	{Kick(playerid);}
from OnDialogResponse.

+1 for you, and thanks again for your quickly response. Have a nice day


Re: [Help] Server closed the connection - GGRoleplay - 19.02.2015

Quote:
Originally Posted by MateiMatei
Посмотреть сообщение
Thanks a lot, mate !! U save me I have to delete
Код:
	else
	{Kick(playerid);}
from OnDialogResponse.

+1 for you, and thanks again for your quickly response. Have a nice day
Just saying your +REP isn't worth anything untill an x amount of posts (I think 50)