NitroZ Posted March 9, 2016 Posted March 9, 2016 Yoo guys, this if my first topic but in this topic i'm not going to introduce myself because i need some help. I have an RPG server but "x" is glue and it is giving my mouse, i need to know how i can unbind "X" for my mouse, i downloaded an resource that "M" is my mouse, but then i have "X" and "M" as mouse and i only need "M", so how can i unbind "x"?
Dimos7 Posted March 9, 2016 Posted March 9, 2016 if not want glue the use that addEventHandler("onPlayerLogin", root, function() unbindKey(source, "x", "down") end) addEventHandler("onResourceStart", resourceRoot, function() for _, v in ipairs(getElementsByType("player")) do unbindKey(v, "x", "down") end end)
NitroZ Posted March 9, 2016 Author Posted March 9, 2016 Glue may use "x" but the mouse mayn't. and if i turn glue off i can still get my mouse with "x"
NitroZ Posted March 9, 2016 Author Posted March 9, 2016 did you understand what i mean? "X" is binded for showing my mouse (cursor) but glue too "X" needs to unbind for the mouse (cursor). i only need "X" for glue plugin. How can i unbind it for everyone? because everyone on the server has that.
Dimos7 Posted March 9, 2016 Posted March 9, 2016 go to the source where the mouse cursor is bind with x and remove that and will be done i think
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