Bilal135 Posted July 29, 2016 Share Posted July 29, 2016 Is it possible to set gui's alpha to 0 but to keep other things like button visible? I used guieditor and it will change everything's alpha to 0 if I set the window's alpha to 0. Link to comment
Oscar365 Posted July 29, 2016 Share Posted July 29, 2016 Is it possible to set gui's alpha to 0 but to keep other things like button visible? I used guieditor and it will change everything's alpha to 0 if I set the window's alpha to 0. Its not possible because gui element takes parent's alpha Link to comment
Hale Posted July 29, 2016 Share Posted July 29, 2016 Maybe you can use a fully transparent .png on the GUI window? Just thoughts, never tested it. Link to comment
Bilal135 Posted July 29, 2016 Author Share Posted July 29, 2016 Take a look at SAUR's login panel: It uses gui elements like button and editbox etc, but there is no gui window. It means that it is possible but I dont know how to make it work. Link to comment
Oscar365 Posted July 29, 2016 Share Posted July 29, 2016 Take a look at SAUR's login panel: It uses gui elements like button and editbox etc, but there is no gui window. It means that it is possible but I dont know how to make it work. habibi its not , he use dxDrawRectangle as background ,the button used as free elemnt without parent, simple example : addEventHandler("onClientRender",root,function() dxDrawRectangle(0,0,300,300,tocolor(0,0,0,150),false) guiCreateButton(70,70,100,100,"Look",false) end) Link to comment
Walid Posted July 29, 2016 Share Posted July 29, 2016 (edited) It uses gui elements like button and editbox etc, but there is no gui window. It means that it is possible but I dont know how to make it work. It's a dxGUI (dx rectangle) with normal edit box and buttons. Edit sorry didn't see Oscar reply. Edited July 29, 2016 by Guest Link to comment
John Smith Posted July 29, 2016 Share Posted July 29, 2016 Take a look at SAUR's login panel: It uses gui elements like button and editbox etc, but there is no gui window. It means that it is possible but I dont know how to make it work. habibi its not , he use dxDrawRectangle as background ,the button used as free elemnt without parent, simple example : addEventHandler("onClientRender",root,function() dxDrawRectangle(0,0,300,300,tocolor(0,0,0,150),false) guiCreateButton(70,70,100,100,"Look",false) end) Dude, don't put guiCreateButton inside of onClientRender D: Link to comment
Bilal135 Posted July 29, 2016 Author Share Posted July 29, 2016 Okay guys, another question. That gui ^^ is different than MTA's default ones. The question is, is that pure DX or some script that auto-converts / makes it like that? Link to comment
Oscar365 Posted July 29, 2016 Share Posted July 29, 2016 (edited) Take a look at SAUR's login panel: It uses gui elements like button and editbox etc, but there is no gui window. It means that it is possible but I dont know how to make it work. habibi its not , he use dxDrawRectangle as background ,the button used as free elemnt without parent, simple example : addEventHandler("onClientRender",root,function() dxDrawRectangle(0,0,300,300,tocolor(0,0,0,150),false) guiCreateButton(70,70,100,100,"Look",false) end) Dude, don't put guiCreateButton inside of onClientRender D: omg i forgot it because I had to go , Edited July 29, 2016 by Guest Link to comment
Oscar365 Posted July 29, 2016 Share Posted July 29, 2016 (edited) Okay guys, another question. That gui ^^ is different than MTA's default ones. The question is, is that pure DX or some script that auto-converts / makes it like that? it's only theam of mta u can't convet the normal gui to this one for players they have to select this them from setting Edited July 29, 2016 by Guest Link to comment
Bilal135 Posted July 29, 2016 Author Share Posted July 29, 2016 What do you mean by 'nope'? is that pure DX or some script that auto-converts / makes it like that? Link to comment
Bilal135 Posted July 29, 2016 Author Share Posted July 29, 2016 Oh, I got it, thanks. 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