Posts: 56
Threads: 18
Joined: Sep 2016
Reputation:
0
I added a register system..If someone press a quit while the login system process it shows server closed connection..
but thats not my problem..the issue is when it shows server closed connection and someone presses Esc..its not showing up the esc menu which regularly shows while ig..but ig its working
PLEASE HELP
Posts: 202
Threads: 18
Joined: Oct 2013
Reputation:
0
Tharvin, there's a thing called dialogs. It appears in-game as a little box, when you press ESC you exit out of the dialog, but if you press ESC twice (while having a dialog on your screen) it will show you the pause menu.
However, in your case - according to your script - when you exit out of the registration dialog it returns a function "Kick(id);" which kicks out of the server.
Try logging in to your account and then press ESC once (make sure you have no dialogs showing on your screen) and the pause menu will show up.
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
You can't do anything about that, it's a client thing. When it closes the connect to the server, ESC menu cannot be shown and /q is the only.
Posts: 202
Threads: 18
Joined: Oct 2013
Reputation:
0
I don't know if I got you right, but once the player is kicked you can't do anything to him as he's no longer connected. Also, I don't believe you can force the pause menu on a player.