Ramsey Posted July 9, 2017 Posted July 9, 2017 Hello Guys, I need a help My wish is to hide the gui window but keep the button in the gui window in place Code: wElement = guiCreateWindow(0,0,300,300,"My Window", false) exports.global:centerWindow(wElement) tabPanel = guiCreateTabPanel ( 0, 0.04, 1, 1, true, myWindow ) myTab = guiCreateTab( "TEST TAB", tabPanel ) guiSetAlpha(wElement, 0) for _, v in ipairs(getElementChildren(wElement)) do -- GUİ Elements guiSetAlpha(v, 0.9) -- Not work do this. end Sorry : I am a bad english. My goal is to convert the gui to dx with triggetEvent. The server that makes this one OwlGaming
Ramsey Posted July 9, 2017 Author Posted July 9, 2017 My wish is to hide the windows but not to hide the things inside the window.
#BrosS Posted July 9, 2017 Posted July 9, 2017 1 minute ago, Ramsey said: My wish is to hide the windows but not to hide the things inside the window. don't attach them to window
#BrosS Posted July 9, 2017 Posted July 9, 2017 6 minutes ago, Ramsey said: Look at the image; > http://imgur.com/a/KFplX so what 1
Ramsey Posted July 9, 2017 Author Posted July 9, 2017 A normal script: win = guiCreateWindow(0,0,100,100,"window",false) button = guiCreateButton(10,10,10,10,"button",false,win) triggerEvent("convertDX",localPlayer,win)
Deep thinker Posted July 9, 2017 Posted July 9, 2017 win = guiCreateWindow(0,0,100,100,"window",false) button = guiCreateButton(10,10,10,10,"button",false,win) guiSetVisible ( win, false ) triggerEvent("convertDX",localPlayer,win) try this
Dimos7 Posted July 9, 2017 Posted July 9, 2017 wElement = guiCreateWindow(0,0,300,300,"My Window", false) exports.global:centerWindow(wElement) tabPanel = guiCreateTabPanel ( 0, 0.04, 1, 1, true, myWindow ) myTab = guiCreateTab( "TEST TAB", tabPanel ) guiSetAlpha(wElement, 0) for _, v in ipairs(getElementChildren(wElement)) do -- GUİ Elements guiSetAlpha(v, 0) end
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