Turbe$Z Posted September 10, 2016 Share Posted September 10, 2016 --------------------------- -- My window --------------------------- local GUIEditor = { window = {}, button = {}, memo = {}, } wndMywindow = { 'wnd', GiftWindow = guiCreateWindow(322, 223, 783, 193, "AJÁNDÉK PANEL | TELJESEN TURBESZ ÁLTAL", false) guiWindowSetSizable(GiftWindow, false) guiSetVisible (GiftWindow, false) guiSetProperty(GiftWindow, "CaptionColour", "FF00D655") button2 = guiCreateButton(9, 24, 126, 34, "HALHATATLANSÁG", false, GiftWindow) guiSetProperty(button2, "NormalTextColour", "FF2FFE00") button3 = guiCreateButton(9, 68, 126, 35, "AUTÓ HALHATATLANSÁG 1X", false, GiftWindow) guiSetProperty(button3, "NormalTextColour", "FF2FFE00") button33 = guiCreateButton(9, 110, 126, 32, "MINIGUN", false, GiftWindow) guiSetProperty(button33, "NormalTextColour", "FF2FFE00") button4 = guiCreateButton(10, 150, 125, 33, "TANK", false, GiftWindow) guiSetProperty(button4, "NormalTextColour", "FF2FFE00") button5 = guiCreateButton(143, 25, 131, 33, "SZÍNESÍRÁS", false, GiftWindow) guiSetProperty(button5, "NormalTextColour", "FFFEFFFE") button6 = guiCreateButton(143, 68, 131, 35, "FEGYVER CSOMAG", false, GiftWindow) guiSetProperty(button6, "NormalTextColour", "FFFEFFFE") button7 = guiCreateButton(144, 109, 130, 33, "LÁTHATATLANSÁG", false, GiftWindow) guiSetProperty(button7, "NormalTextColour", "FFFEFFFE") memo = guiCreateMemo(277, 25, 496, 117, "\nSzia, üdv a FullFunPlay Szerveren! \n\nEz a panel, egy MÁGIKUS!!! ISMÉTLEM MÁGIKUS PANEL!!! Csak nektek, turbesztől, a tulajtól. \n\nItt kiválaszthatsz több valamit, 12 óránként! \n\nJó szórakozást a panellel! \n\nUPDATE! #2016.07.29: Választhatsz színesírást!\n\nUPDATE! #2016.08.01: Láthatatlanság ki/be kapcsolható!\nGravity Gun szerzés 2 milláért.", false, GiftWindow) guiMemoSetReadOnly(memo, true) button = guiCreateButton(146, 152, 627, 31, "BEZÁRÁS BEZÁRÁS BEZÁRÁS BEZÁRÁS BEZÁRÁS", false, GiftWindow) guiSetProperty(button, "NormalTextColour", "FFFF0000") {'btn', id='gift', window=wndMywindow, width=255}, what wrong? °-° Link to comment
KariiiM Posted September 10, 2016 Share Posted September 10, 2016 --------------------------- -- My window --------------------------- local GUIEditor = { window = { }, button = { }, memo = { } } GiftWindow = guiCreateWindow(322, 223, 783, 193, "AJÁNDÉK PANEL | TELJESEN TURBESZ ÁLTAL", false) guiWindowSetSizable(GiftWindow, false) guiSetVisible (GiftWindow, false) guiSetProperty(GiftWindow, "CaptionColour", "FF00D655") button2 = guiCreateButton(9, 24, 126, 34, "HALHATATLANSÁG", false, GiftWindow) guiSetProperty(button2, "NormalTextColour", "FF2FFE00") button3 = guiCreateButton(9, 68, 126, 35, "AUTÓ HALHATATLANSÁG 1X", false, GiftWindow) guiSetProperty(button3, "NormalTextColour", "FF2FFE00") button33 = guiCreateButton(9, 110, 126, 32, "MINIGUN", false, GiftWindow) guiSetProperty(button33, "NormalTextColour", "FF2FFE00") button4 = guiCreateButton(10, 150, 125, 33, "TANK", false, GiftWindow) guiSetProperty(button4, "NormalTextColour", "FF2FFE00") button5 = guiCreateButton(143, 25, 131, 33, "SZÍNESÍRÁS", false, GiftWindow) guiSetProperty(button5, "NormalTextColour", "FFFEFFFE") button6 = guiCreateButton(143, 68, 131, 35, "FEGYVER CSOMAG", false, GiftWindow) guiSetProperty(button6, "NormalTextColour", "FFFEFFFE") button7 = guiCreateButton(144, 109, 130, 33, "LÁTHATATLANSÁG", false, GiftWindow) guiSetProperty(button7, "NormalTextColour", "FFFEFFFE") memo = guiCreateMemo(277, 25, 496, 117, "\nSzia, üdv a FullFunPlay Szerveren! \n\nEz a panel, egy MÁGIKUS!!! ISMÉTLEM MÁGIKUS PANEL!!! Csak nektek, turbesztől, a tulajtól. \n\nItt kiválaszthatsz több valamit, 12 óránként! \n\nJó szórakozást a panellel! \n\nUPDATE! #2016.07.29: Választhatsz színesírást!\n\nUPDATE! #2016.08.01: Láthatatlanság ki/be kapcsolható!\nGravity Gun szerzés 2 milláért.", false, GiftWindow) guiMemoSetReadOnly(memo, true) button = guiCreateButton(146, 152, 627, 31, "BEZÁRÁS BEZÁRÁS BEZÁRÁS BEZÁRÁS BEZÁRÁS", false, GiftWindow) guiSetProperty(button, "NormalTextColour", "FFFF0000") Try it Link to comment
Turbe$Z Posted September 10, 2016 Author Share Posted September 10, 2016 13 minutes ago, KariiiM said: --------------------------- -- My window --------------------------- local GUIEditor = { window = { }, button = { }, memo = { } } GiftWindow = guiCreateWindow(322, 223, 783, 193, "AJÁNDÉK PANEL | TELJESEN TURBESZ ÁLTAL", false) guiWindowSetSizable(GiftWindow, false) guiSetVisible (GiftWindow, false) guiSetProperty(GiftWindow, "CaptionColour", "FF00D655") button2 = guiCreateButton(9, 24, 126, 34, "HALHATATLANSÁG", false, GiftWindow) guiSetProperty(button2, "NormalTextColour", "FF2FFE00") button3 = guiCreateButton(9, 68, 126, 35, "AUTÓ HALHATATLANSÁG 1X", false, GiftWindow) guiSetProperty(button3, "NormalTextColour", "FF2FFE00") button33 = guiCreateButton(9, 110, 126, 32, "MINIGUN", false, GiftWindow) guiSetProperty(button33, "NormalTextColour", "FF2FFE00") button4 = guiCreateButton(10, 150, 125, 33, "TANK", false, GiftWindow) guiSetProperty(button4, "NormalTextColour", "FF2FFE00") button5 = guiCreateButton(143, 25, 131, 33, "SZÍNESÍRÁS", false, GiftWindow) guiSetProperty(button5, "NormalTextColour", "FFFEFFFE") button6 = guiCreateButton(143, 68, 131, 35, "FEGYVER CSOMAG", false, GiftWindow) guiSetProperty(button6, "NormalTextColour", "FFFEFFFE") button7 = guiCreateButton(144, 109, 130, 33, "LÁTHATATLANSÁG", false, GiftWindow) guiSetProperty(button7, "NormalTextColour", "FFFEFFFE") memo = guiCreateMemo(277, 25, 496, 117, "\nSzia, üdv a FullFunPlay Szerveren! \n\nEz a panel, egy MÁGIKUS!!! ISMÉTLEM MÁGIKUS PANEL!!! Csak nektek, turbesztől, a tulajtól. \n\nItt kiválaszthatsz több valamit, 12 óránként! \n\nJó szórakozást a panellel! \n\nUPDATE! #2016.07.29: Választhatsz színesírást!\n\nUPDATE! #2016.08.01: Láthatatlanság ki/be kapcsolható!\nGravity Gun szerzés 2 milláért.", false, GiftWindow) guiMemoSetReadOnly(memo, true) button = guiCreateButton(146, 152, 627, 31, "BEZÁRÁS BEZÁRÁS BEZÁRÁS BEZÁRÁS BEZÁRÁS", false, GiftWindow) guiSetProperty(button, "NormalTextColour", "FFFF0000") Try it doesn't working Link to comment
KariiiM Posted September 10, 2016 Share Posted September 10, 2016 This code is only for gui elements, where is the code that execute those elements ? Link to comment
Turbe$Z Posted September 10, 2016 Author Share Posted September 10, 2016 4 minutes ago, KariiiM said: This code is only for gui elements, where is the code that execute those elements ? {'btn', id='gift', window=wndMywindow, width=255}, Link to comment
KariiiM Posted September 10, 2016 Share Posted September 10, 2016 Just now, Turbo777 said: {'btn', id='gift', window=wndMywindow, width=255}, this is a undefined table and that makes no sense, I'm talking about what action you do for letting the window appears.. Link to comment
KariiiM Posted September 10, 2016 Share Posted September 10, 2016 I suggest you to go to your native language section, I'm sure you can explain your problem as well 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