3B00DG4MER Posted November 18, 2014 Posted November 18, 2014 Hi Guys ! Today i was going to make a Dx Buttons but i can't check if player is still holding it ! There is any "Event" for dat ? SAF/SAO - 30% Skype: Themerzoug2020 in-game name:3B00DG4MER
boro Posted November 18, 2014 Posted November 18, 2014 onClientDXMouseEnter onClientDXClick I'll help When I Can.
SkatCh Posted November 18, 2014 Posted November 18, 2014 onClientDXMouseEnter onClientDXClick What are you serious. Failure is simply an opportunity to begin again more intelligently - Henry Ford
Moderators IIYAMA Posted November 18, 2014 Moderators Posted November 18, 2014 https://wiki.multitheftauto.com/wiki/OnClientClick button: This refers the button used to click on the mouse, can be left, right, or middle [color=#FF0000]>> state: This can be used to tell if the user released or pressed the mouse button, where up is passed if the button is released, and down is passed if the button is pushed[/color] absoluteX: This refers to the 2D x coordinate the user clicked on his screen, and is an absolute position in pixels. absoluteY: This refers to the 2D y coordinate the user clicked on his screen, and is an absolute position in pixels. worldX: This represents the 3D x coordinate the player clicked on the screen, and is relative to the GTA world. worldY: This represents the 3D y coordinate the player clicked on the screen, and is relative to the GTA world. worldZ: This represents the 3D z coordinate the player clicked on the screen, and is relative to the GTA world. clickedWorld: This represents any physical entity elements that were clicked. If the player clicked on no MTA element, it's set to false. When you click and don't release it, it is hold. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
3B00DG4MER Posted November 18, 2014 Author Posted November 18, 2014 https://wiki.multitheftauto.com/wiki/OnClientClickbutton: This refers the button used to click on the mouse, can be left, right, or middle [color=#FF0000]>> state: This can be used to tell if the user released or pressed the mouse button, where up is passed if the button is released, and down is passed if the button is pushed[/color] absoluteX: This refers to the 2D x coordinate the user clicked on his screen, and is an absolute position in pixels. absoluteY: This refers to the 2D y coordinate the user clicked on his screen, and is an absolute position in pixels. worldX: This represents the 3D x coordinate the player clicked on the screen, and is relative to the GTA world. worldY: This represents the 3D y coordinate the player clicked on the screen, and is relative to the GTA world. worldZ: This represents the 3D z coordinate the player clicked on the screen, and is relative to the GTA world. clickedWorld: This represents any physical entity elements that were clicked. If the player clicked on no MTA element, it's set to false. When you click and don't release it, it is hold. Thanks !!! SAF/SAO - 30% Skype: Themerzoug2020 in-game name:3B00DG4MER
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