Jump to content

[HELP] GUI dont show up !


GuyFromPast

Recommended Posts

  
  
GUIEditor_Window = {} 
GUIEditor_TabPanel = {} 
GUIEditor_Tab = {} 
GUIEditor_Button = {} 
GUIEditor_Label = {} 
GUIEditor_Edit = {} 
  
  
function startGUI() 
local money = getElementData(getLocalPlayer(), "data.money") 
  
  
GUIEditor_Window[1] = guiCreateWindow(361,207,463,497,"Blagg" ,false) 
GUIEditor_TabPanel[1] = guiCreateTabPanel(36,46,393,401,false,GUIEditor_Window[1]) 
GUIEditor_Tab[1] = guiCreateTab("Information",GUIEditor_TabPanel[1]) 
GUIEditor_Label[1] = guiCreateLabel(26,30,126,28,"MONEY"..money,false,GUIEditor_Tab[1]) 
  
guiSetVisible(GUIEditor_Window[1],false) 
end 

any idea why this gui not working ? if i press hotkey then only mouse comes but no window

Link to comment

removed it and

still not working when i press f7 only mouse shows up

function open() 
        if guiGetVisible ( GUIEditor_Window[1] ) then 
                -- if it is, we hide it 
                guiSetVisible ( GUIEditor_Window[1], false ) 
showCursor(false) 
        else 
                guiSetVisible ( GUIEditor_Window[1], true ) 
showCursor(true) 
 end 
end 
bindKey("F7","down",open) 

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