Norhy Posted January 6, 2015 Share Posted January 6, 2015 Please, how do I create a right-click menu like the one in the resource gui editor? Link to comment
ViRuZGamiing Posted January 6, 2015 Share Posted January 6, 2015 Make a GUI visible on Bind, bindKey --key "mouse2" guiSetVisible Link to comment
Dealman Posted January 6, 2015 Share Posted January 6, 2015 Use the event onClientClick. Check if the button was "right" and then whether the state was "down" or "up", I usually always go with "down". Then after that is detected, get the position of the click and move the GUI there or draw the DX interface there. Link to comment
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