Norhy Posted January 6, 2015 Posted January 6, 2015 Please, how do I create a right-click menu like the one in the resource gui editor?
ViRuZGamiing Posted January 6, 2015 Posted January 6, 2015 Make a GUI visible on Bind, bindKey --key "mouse2" guiSetVisible
Dealman Posted January 6, 2015 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.
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