function Input:AddMouseButtonHandler( button, down, fn)
if down then
return self.onmousedown:AddEventHandler(button, fn)
else
return self.onmouseup:AddEventHandler(button, fn)
end
end
This function DOES NOT WORK!
Steps to Reproduce
TheInput:AddMouseButtonHandler(1000,true,print)
click
nothing happens
There are no comments to display.
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