Bilal135 Posted July 29, 2016 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. "Get busy living or get busy dying"
Oscar365 Posted July 29, 2016 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
Hale Posted July 29, 2016 Posted July 29, 2016 Maybe you can use a fully transparent .png on the GUI window? Just thoughts, never tested it.
Bilal135 Posted July 29, 2016 Author 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. "Get busy living or get busy dying"
Oscar365 Posted July 29, 2016 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)
Walid Posted July 29, 2016 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 Do not yield your back to your enemy, might feel something strange in your ass. Two things are infinite the universe and human stupidity and i'm not sure about the universe. UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators
Walid Posted July 29, 2016 Posted July 29, 2016 Sorry fail. Do not yield your back to your enemy, might feel something strange in your ass. Two things are infinite the universe and human stupidity and i'm not sure about the universe. UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators
John Smith Posted July 29, 2016 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: If you find my post useful or if it helped you, please like my post Ingame name: ZoeN
Bilal135 Posted July 29, 2016 Author 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? "Get busy living or get busy dying"
Oscar365 Posted July 29, 2016 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
Oscar365 Posted July 29, 2016 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
Bilal135 Posted July 29, 2016 Author Posted July 29, 2016 What do you mean by 'nope'? is that pure DX or some script that auto-converts / makes it like that? "Get busy living or get busy dying"
Bilal135 Posted July 29, 2016 Author Posted July 29, 2016 Oh, I got it, thanks. "Get busy living or get busy dying"
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