Turbe$Z Posted January 15, 2017 Share Posted January 15, 2017 GUIEditor = { button = {}, window = {} } aa = guiCreateWindow(0.34, 0.29, 0.32, 0.28, "Rang vásárlás PÉZ-ből", true) guiWindowSetSizable(aa, false) guiSetProperty(aa, true) GUIEditor.button[1] = guiCreateButton(9, 23, 440, 41, "V.I.P - 100 PÉZ", false, aa) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFF0000") GUIEditor.button[2] = guiCreateButton(9, 74, 440, 41, "Moderátor - 1000 PÉZ", false, aa) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFF0000") GUIEditor.button[3] = guiCreateButton(9, 125, 440, 41, "----", false, aa) GUIEditor.button[4] = guiCreateButton(9, 176, 440, 41, "----", false, aa) GUIEditor.button[5] = guiCreateButton(163, 226, 134, 20, "Bezárás", false, aa) when i connect to the server, this window show automatic, but i want fix this with guiSetProperty but doesn't working, why? Link to comment
Gravestone Posted January 15, 2017 Share Posted January 15, 2017 Use guiSetVisible to manage visibility. Link to comment
Simple0x47 Posted January 15, 2017 Share Posted January 15, 2017 If you don't want it to appear automatically just get that Gui functions into a function handler of the event you want it to show up. And then use like @Gravestone said the guiSetVisible. 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