Jump to content

I need help for "/bind = reconnect"


huyjvguyen

Recommended Posts

Posted

Hi, im create this topic to ask how to fix this bug.

When i use "/bind = reconnect in" server , I click = I will reconnect, but took a long time, in terms of time that I spent that day backpack items from the car, after reconnect to the items in the backpack I was still, but the car still neck.

So i need to remove the command "/ bind = connect". someone can help me, please!! :(

Posted
If the problem is that your players abuse reconnecting, you could use this:

onPlayerQuit

banPlayer 

So when a player quits your server, he is banned for some seconds, in order to stop him reconnecting.

But I just want to delete the command, ban will be take my mem :(

Posted
  
function disableReconnect(cmd) 
      if (cmd == "reconnect") then 
          cancelEvent() 
     end 
end 
addEventHandler("onPlayerCommand", root, disableReconnect) 
  

Is this what you are looking for? This disables reconnect (I din't test it, but should work!).

Posted

I didn't completely understand the original post, but can't you just write some code to remedy the bug instead of blocking people from disconnecting via bind?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...