Norhy Posted January 13, 2013 Share Posted January 13, 2013 Hey guys. How to create a clickable image, a image on which you can click and something happens after it. Like the phone on SAUR, CIT.. Link to comment
MR.S3D Posted January 13, 2013 Share Posted January 13, 2013 Hey guys. How to create a clickable image, a image on which you can click and something happens after it. Like the phone on SAUR, CIT.. img1 = guiCreateStaticImage(10, 28, 250, 333, "images/1.png", false) addEventHandler("onClientGUIClick",root, -- when click function(button, state, absoulteX, absoulteY) if ( source == img1 ) then -- your img --- here your code end end ) 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