DeletedAccount1111 Posted November 25, 2018 Posted November 25, 2018 How can I create a button that has a text and a image?
Moderators Patrick Posted November 25, 2018 Moderators 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
MIKI785 Posted November 26, 2018 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.
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