Jump to content

custom gui question


toxicsmoke11

Recommended Posts

hello umm i was wondering whats the simplest way to make custom gui(buttons,background...)

dx functions or gui image functions?

and is there a way to do it easily?

i know how to create custom gui already but my method takes too much time to finish so i was just wondering was there a simple way to either attach or something else custom guis to default guis?

Link to comment

yea anubhav thats similiar to the thing which i was doing before except i didnt use any dx rectangles

and your and my method would take too much time just to create one simple panel

would it be possible though to do this

staticImage = guiCreateStaticImage(...) -- bla bla 
function myFunction() 
   if source == staticImage then 
      -- do something 
   end 
end 
addEventHandler("onClientGUIClick",getRootElement(),myFunction) 

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