huyjvguyen Posted March 13, 2016 Share 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!! Link to comment
SpecT Posted March 13, 2016 Share Posted March 13, 2016 I'm not really sure if I understood ... Use "/unbind =" to unbind all the binds on the button "=". Link to comment
huyjvguyen Posted March 13, 2016 Author Share 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 Link to comment
EstrategiaGTA Posted March 13, 2016 Share 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. Link to comment
Noki Posted March 13, 2016 Share Posted March 13, 2016 getKeyBoundToCommand("reconnect") Link to comment
huyjvguyen Posted March 14, 2016 Author Share 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 Link to comment
huyjvguyen Posted March 14, 2016 Author Share Posted March 14, 2016 getKeyBoundToCommand("reconnect") your mean .... ??? Link to comment
huyjvguyen Posted March 18, 2016 Author Share Posted March 18, 2016 I want to disable this cammand Link to comment
Anubhav Posted March 18, 2016 Share 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!). Link to comment
Simple0x47 Posted March 18, 2016 Share 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 Link to comment
Addlibs Posted March 18, 2016 Share 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? Link to comment
huyjvguyen Posted March 20, 2016 Author Share Posted March 20, 2016 ok, thank everybody, i will try to find this command , and fix bug Link to comment
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