reconnect cmd? - 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: reconnect cmd? (
/showthread.php?tid=435799)
reconnect cmd? -
Blackazur - 08.05.2013
Hello, i would ask how to make an reconnect cmd? I have not any idea for it.
Re: reconnect cmd? -
IceCube! - 08.05.2013
You cannot make a reconnect command, connections are handled by the client... the client choses to close the client and end his session, or to reopen the client and regain his session. All you can do is terminate his active session, which is still slightly controled by the client as it doesn't close its down to him. YOu've only terminated the ouput from the server to him.
Re: reconnect cmd? -
thefatshizms - 08.05.2013
Quote:
Originally Posted by IceCube!
You cannot make a reconnect command, connections are handled by the client... the client choses to close the client and end his session, or to reopen the client and regain his session. All you can do is terminate his active session, which is still slightly controled by the client as it doesn't close its down to him. YOu've only terminated the ouput from the server to him.
|
You can actually make a reconnect cmd
It's something like ban him then unban him then reload the bans or something..
Re: reconnect cmd? -
AaronKillz - 08.05.2013
Why don't you just make a relog command instead?
Quote:
Originally Posted by thefatshizms
You can actually make a reconnect cmd
It's something like ban him then unban him then reload the bans or something..
|
Yeah
AW: reconnect cmd? -
Blackazur - 08.05.2013
k, i maked now one. thanks all.
Re: reconnect cmd? -
punklord - 08.05.2013
Sweet,Good that ya' got it Dns.For our server eh?
Re: reconnect cmd? -
Stanford - 08.05.2013
You should make it that when player type the re-connect cmd it bans the ip and then unbans it at the same time then it reload the bans