Jump to content

GUI


Recommended Posts

Use guiSetVisible at the start of the resource and it will be depending on the x,y arguments of the window i think.

Ye he say true

function changeVisibility ( ) 
        -- we check if the gui element is visible 
        guiSetVisible (myWindow, not guiGetVisible ( myWindow ) ) 
end 
  
--Create a gui window called 'myWindow' 
myWindow = guiCreateWindow ( 0.3, 0.3, 0.5, 0.60, "GUI window title", true ) 
--Set a timer to change the window's visibility every 2 seconds, infinite times 
setTimer ( changeVisibility, 2000, 0 ) 

https://wiki.multitheftauto.com/wiki/GuiSetVisible

here can find more

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