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 "If debugging is the process of removing software bugs, then programming must be the process of putting them in."
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. If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.
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