DanHR Posted November 25, 2018 Share Posted November 25, 2018 How can I create a button that has a text and a image? Link to comment
Moderators Patrick Posted November 25, 2018 Moderators Share Posted November 25, 2018 (edited) dxDrawRectangle dxDrawImage dxDrawText event: https://wiki.multitheftauto.com/wiki/OnClientRender event: https://wiki.multitheftauto.com/wiki/OnClientClick useful: https://wiki.multitheftauto.com/wiki/IsMouseInPosition Edited November 25, 2018 by Patrick2562 Link to comment
MIKI785 Posted November 26, 2018 Share Posted November 26, 2018 Or you could simply use guiCreateStaticImage, draw the text on it using guiCreateLabel with the image as parent. Then simply attach onClientGUIClick and there is no difference. 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