Norhy Posted January 8, 2013 Share Posted January 8, 2013 Hey guys. So i've made a Background for my Login GUI. I have this code: background = guiCreateStaticImage( 0.01, 0.01, 1600, 1200, "bg.png", false, wdwLogin ) guiSetAlpha ( background, 10 ) Everything works nice, however when i try to click on a button or and input field, it doesn't respond because the image is there, i tried to make the Login GUI Always on top, but it didn't work. How to make the Image to work as an Background? Link to comment
myonlake Posted January 8, 2013 Share Posted January 8, 2013 Disable the static image with guiSetEnabled. It should disable all events done to the element. Also, make sure you create the static image before any windows or so. Also, your alpha is wrong. The range is a float from 0.0 to 1.0. 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