Jump to content

GUI related question


Bilal135

Recommended Posts

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) 

Link to comment

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
Link to comment
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:

Link to comment
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
Link to comment
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
Link to comment

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...