Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function dxElements:Click(button, state)
- if (self.visible) then
- outputChatBox(button)
- outputChatBox(state)
- if (button == 'left') and (state == 'down') then
- if (isMouseOverElement(self.x, self.y, self.w, self.h)) then
- self.func();
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement