Jump to content

Help with GUI


villr

Recommended Posts

function isAnyGuiVisible() 
for i,gui in ipairs(getElementsByType("gui-window")) do 
   if ( guiGetVisible (gui) == true ) then 
   outputChatBox("true") 
   return true 
   else 
   outputChatBox("false") 
   return false 
end 
end 
end 

This will only return me false :/

Link to comment
Guest Guest4401
function isAnyGuiVisible() 
    for i,v in ipairs(getElementsByType'gui-window') do 
        if guiGetVisible(v) then 
            return true 
        end 
    end 
    return false 
end 

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