Reconnect command - 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 command (
/showthread.php?tid=624202)
Reconnect command -
iamjems - 12.12.2016
How do people create reconnect commands nowadays? I know that this isn't possible with banip and unbanip anymore. I have searched all the forums and I still can't find it.
Thanks in advance!
Re: Reconnect command -
Jefff - 12.12.2016
Its possible with banip, add TogglePlayerControllable(playerid,false); before banip
Re: Reconnect command -
iamjems - 12.12.2016
Quote:
Originally Posted by Jefff
Its possible with banip, add TogglePlayerControllable(playerid,false); before banip
|
That literally makes no sense. Can you explain?
Re: Reconnect command -
mahdi499 - 12.12.2016
I believe what he meant, is that you toggle The player's ability to move, Then you ban his ip and unban it, which will force Reconnect
Re: Reconnect command -
iamjems - 12.12.2016
Quote:
Originally Posted by mahdi499
I believe what he meant, is that you toggle The player's ability to move, Then you ban his ip and unban it, which will force Reconnect
|
What does the player's ability to move have to do with the ban?
Re: Reconnect command -
iamjems - 12.12.2016
It doesn't work.
Re: Reconnect command -
mahdi499 - 12.12.2016
Can you explain more, What doesn't Work exactly?
Re: Reconnect command -
iamjems - 12.12.2016
Quote:
Originally Posted by mahdi499
Can you explain more, What doesn't Work exactly?
|
Nothing happens. They removed the ability to do this back in 0.3z.
Re: Reconnect command -
Jefff - 12.12.2016
You cant banip 127.0.0.1 localhost, im using this for reconnect and its working with old banip and unbanip but now it needs TogglePlayerControllable(playerid,false); part. Its not 100% working code but 98-99%
Re: Reconnect command -
Pearson - 12.12.2016
Hello.
Yes you can , its possible to use banip for reconnect.