GuyFromPast Posted October 9, 2010 Share Posted October 9, 2010 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
50p Posted October 9, 2010 Share Posted October 9, 2010 guiSetVisible(GUIEditor_Window[1],false) What do you think this line of code is doing? Well, guess. Link to comment
GuyFromPast Posted October 9, 2010 Author Share Posted October 9, 2010 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
dzek (varez) Posted October 9, 2010 Share Posted October 9, 2010 also you have created startGUI function but you never fire it. Link to comment
GuyFromPast Posted October 9, 2010 Author Share Posted October 9, 2010 ow yeah.. thanks problem solved Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now