Reconnect command
#1

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!
Reply
#2

Its possible with banip, add TogglePlayerControllable(playerid,false); before banip
Reply
#3

Quote:
Originally Posted by Jefff
Посмотреть сообщение
Its possible with banip, add TogglePlayerControllable(playerid,false); before banip
That literally makes no sense. Can you explain?
Reply
#4

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
Reply
#5

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?
Reply
#6

It doesn't work.
Reply
#7

Can you explain more, What doesn't Work exactly?
Reply
#8

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.
Reply
#9

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%
Reply
#10

Hello.
Yes you can , its possible to use banip for reconnect.
Reply


Forum Jump:


Users browsing this thread: