huyjvguyen Posted March 13, 2016 Posted March 13, 2016 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!!
SpecT Posted March 13, 2016 Posted March 13, 2016 I'm not really sure if I understood ... Use "/unbind =" to unbind all the binds on the button "=".
huyjvguyen Posted March 13, 2016 Author Posted March 13, 2016 No , i mean how to delete this command , because my member will use this to Bug or hack item, i need delete it
EstrategiaGTA Posted March 13, 2016 Posted March 13, 2016 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.
huyjvguyen Posted March 14, 2016 Author Posted March 14, 2016 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
huyjvguyen Posted March 14, 2016 Author Posted March 14, 2016 getKeyBoundToCommand("reconnect") your mean .... ???
Anubhav Posted March 18, 2016 Posted March 18, 2016 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!).
Simple0x47 Posted March 18, 2016 Posted March 18, 2016 I want to disable this cammand Find where the key is bind in your scripts and remove it. Just simple as that
Addlibs Posted March 18, 2016 Posted March 18, 2016 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?
huyjvguyen Posted March 20, 2016 Author Posted March 20, 2016 ok, thank everybody, i will try to find this command , and fix bug
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now