Jump to content

GUI related question


Bilal135

Recommended Posts

Posted

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"

Posted
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

Posted

Take a look at SAUR's login panel:

ONff5Xm.png

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"

Posted
Take a look at SAUR's login panel:

ONff5Xm.png

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) 

Posted (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 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

Posted
Take a look at SAUR's login panel:

ONff5Xm.png

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

560x95_FFFFFF_FF9900_000000_000000.png

Posted

Okay guys, another question.

mta-screen_2016-06-26_19-39-38.png

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"

Posted (edited)
Take a look at SAUR's login panel:

ONff5Xm.png

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 , xD

Edited by Guest
Posted (edited)
Okay guys, another question.

mta-screen_2016-06-26_19-39-38.png

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 by Guest

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...