Advertisement
Guest User

Untitled

a guest
Feb 20th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. function dxElements:Click(button, state)
  2. if (self.visible) then
  3. outputChatBox(button)
  4. outputChatBox(state)
  5. if (button == 'left') and (state == 'down') then
  6. if (isMouseOverElement(self.x, self.y, self.w, self.h)) then
  7. self.func();
  8. end
  9. end
  10. end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement