Jump to content

Help me I have got an Error...


tim171

Recommended Posts

This is the function

function openGui() 
    if not isElement(GUIEditor_Window[1]) then memberGui() end 
    if not guiGetVisible(GUIEditor_Window[1]) then 
        guiSetVisible ( GUIEditor_Window[1], true ) 
    else 
        guiSetVisible ( GUIEditor_Window[1], false ) 
    end 
end` 

The Error: Memberpanel\client.lua:121: attempt to index global 'GUIEditor_Window' (a nil value)

Link to comment
function openGui() 
    if not isElement(GUIEditor.window[1]) then memberGui() end 
    if not guiGetVisible(GUIEditor.window[1]) then 
        guiSetVisible ( GUIEditor.window[1], true ) 
    else 
        guiSetVisible ( GUIEditor.window[1], false ) 
    end 
end 

Link to comment
function openGui() 
    if not isElement(GUIEditor.window[1]) then memberGui() end 
    if not guiGetVisible(GUIEditor.window[1]) then 
        guiSetVisible ( GUIEditor.window[1], true ) 
    else 
        guiSetVisible ( GUIEditor.window[1], false ) 
    end 
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...