^#Dream Posted June 19, 2014 Share Posted June 19, 2014 GUIEditor = { tab = {}, staticimage = {}, tabpanel = {}, label = {}, button = {}, window = {} } function guiCreateWindow( x2, y2, width2, height2, titleBarText2, relative2 ) local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "mnGr7.png", relative2 ) local mainBackgroundLabel = guiCreateLabel ( 0, 0, 250, 100, titleBarText2, false, mainBackground ) guiSetFont ( mainBackgroundLabel, newFont ) guiSetEnabled ( mainBackgroundLabel, false ) return mainBackground end GUIEditor.window[1] = guiCreateWindow(94, 58, 627, 500, "", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.button[1] = guiCreateButton(189, 451, 267, 39, "Close", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "sa-header") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.tabpanel[1] = guiCreateTabPanel(9, 32, 608, 414, false, GUIEditor.window[1]) GUIEditor.tab[1] = guiCreateTab("آلـقـوآنـيـن", GUIEditor.tabpanel[1]) GUIEditor.staticimage[1] = guiCreateStaticImage(2, 0, 602, 385, ":RulesPanel/1.png", false, GUIEditor.tab[1]) GUIEditor.tab[2] = guiCreateTab("قـوآنـيـن إلآدمـن", GUIEditor.tabpanel[1]) GUIEditor.staticimage[2] = guiCreateStaticImage(1, 0, 607, 390, ":RulesPanel/3.png", false, GUIEditor.tab[2]) GUIEditor.tab[3] = guiCreateTab("شـروط آلأدمن", GUIEditor.tabpanel[1]) GUIEditor.staticimage[3] = guiCreateStaticImage(1, 0, 607, 390, ":RulesPanel/2.png", false, GUIEditor.tab[3]) GUIEditor.tab[4] = guiCreateTab("آلآدراهه", GUIEditor.tabpanel[1]) GUIEditor.staticimage[4] = guiCreateStaticImage(1, 0, 607, 390, ":RulesPanel/5.png", false, GUIEditor.tab[4]) GUIEditor.label[1] = guiCreateLabel(-6, 417, 183, 47, "", false, GUIEditor.tabpanel[1]) GUIEditor.label[2] = guiCreateLabel(19, 453, 187, 47, "By : mnGr7", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "sa-header") guiLabelSetColor(GUIEditor.label[2], 126, 245, 9) end ) -- الزر -- bindKey ( "F9" , "down" , function() if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor (false ) guiSetInputEnabled(false) elseif ( guiGetVisible ( GUIEditor_Window[1] ) == false ) then guiSetVisible ( GUIEditor_Window[1] ,true ) showCursor (false ) guiSetInputEnabled(true) end end ) -- اغلاق البتون -- function showGUIbf() guiSetVisible (GUIEditor.window[1], false ) showCursor ( false ) end addEventHandler("onClientGUIClick", GUIEditor.button[1], showGUIbf, false) ربط اللوحة بزر مايشتغل اضغط اف 9 ماتططلع Link to comment
1REDBULL Posted June 19, 2014 Share Posted June 19, 2014 -- الزر -- bindKey ( "F9" , "down" , function() if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor (false ) guiSetInputEnabled(false) elseif ( guiGetVisible ( GUIEditor_Window[1] ) == false ) then guiSetVisible ( GUIEditor_Window[1] ,true ) showCursor (false ) guiSetInputEnabled(true) end end ) غير الويندو بذا الكود GUIEditor.window[1] زي كذا -- الزر -- bindKey ( "F9" , "down" , function() if ( guiGetVisible ( GUIEditor.window[1] ) == true ) then guiSetVisible ( GUIEditor.window[1] ,false ) showCursor (false ) guiSetInputEnabled(false) elseif ( guiGetVisible ( GUIEditor.window[1] ) == false ) then guiSetVisible ( GUIEditor.window[1] ,true ) showCursor (false ) guiSetInputEnabled(true) end end ) Link to comment
The Killer Posted June 19, 2014 Share Posted June 19, 2014 GUIEditor = { tab = {}, staticimage = {}, tabpanel = {}, label = {}, button = {}, window = {} } function guiCreateWindow( x2, y2, width2, height2, titleBarText2, relative2 ) local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "mnGr7.png", relative2 ) local mainBackgroundLabel = guiCreateLabel ( 0, 0, 250, 100, titleBarText2, false, mainBackground ) guiSetFont ( mainBackgroundLabel, newFont ) guiSetEnabled ( mainBackgroundLabel, false ) return mainBackground end GUIEditor.window[1] = guiCreateWindow(94, 58, 627, 500, "", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetVisible (GUIEditor.window[1], false) GUIEditor.button[1] = guiCreateButton(189, 451, 267, 39, "Close", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "sa-header") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.tabpanel[1] = guiCreateTabPanel(9, 32, 608, 414, false, GUIEditor.window[1]) GUIEditor.tab[1] = guiCreateTab("آلـقـوآنـيـن", GUIEditor.tabpanel[1]) GUIEditor.staticimage[1] = guiCreateStaticImage(2, 0, 602, 385, ":RulesPanel/1.png", false, GUIEditor.tab[1]) GUIEditor.tab[2] = guiCreateTab("قـوآنـيـن إلآدمـن", GUIEditor.tabpanel[1]) GUIEditor.staticimage[2] = guiCreateStaticImage(1, 0, 607, 390, ":RulesPanel/3.png", false, GUIEditor.tab[2]) GUIEditor.tab[3] = guiCreateTab("شـروط آلأدمن", GUIEditor.tabpanel[1]) GUIEditor.staticimage[3] = guiCreateStaticImage(1, 0, 607, 390, ":RulesPanel/2.png", false, GUIEditor.tab[3]) GUIEditor.tab[4] = guiCreateTab("آلآدراهه", GUIEditor.tabpanel[1]) GUIEditor.staticimage[4] = guiCreateStaticImage(1, 0, 607, 390, ":RulesPanel/5.png", false, GUIEditor.tab[4]) GUIEditor.label[1] = guiCreateLabel(-6, 417, 183, 47, "", false, GUIEditor.tabpanel[1]) GUIEditor.label[2] = guiCreateLabel(19, 453, 187, 47, "By : mnGr7", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "sa-header") guiLabelSetColor(GUIEditor.label[2], 126, 245, 9) -- الزر -- bindKey ( "F9" , "down" , function() guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])) showCursor(guiGetVisible (GUIEditor.window[1])) end ) -- اغلاق البتون -- function showGUIbf() guiSetVisible (GUIEditor.window[1], false ) showCursor ( false ) end addEventHandler("onClientGUIClick", GUIEditor.button[1], showGUIbf, false) عندك ايند وقوس زايده Link to comment
^#Dream Posted June 19, 2014 Author Share Posted June 19, 2014 -- الزر -- bindKey ( "F9" , "down" , function() if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor (false ) guiSetInputEnabled(false) elseif ( guiGetVisible ( GUIEditor_Window[1] ) == false ) then guiSetVisible ( GUIEditor_Window[1] ,true ) showCursor (false ) guiSetInputEnabled(true) end end ) غير الويندو بذا الكود GUIEditor.window[1] زي كذا -- الزر -- bindKey ( "F9" , "down" , function() if ( guiGetVisible ( GUIEditor.window[1] ) == true ) then guiSetVisible ( GUIEditor.window[1] ,false ) showCursor (false ) guiSetInputEnabled(false) elseif ( guiGetVisible ( GUIEditor.window[1] ) == false ) then guiSetVisible ( GUIEditor.window[1] ,true ) showCursor (false ) guiSetInputEnabled(true) end end ) ماشتغل Link to comment
The Killer Posted June 19, 2014 Share Posted June 19, 2014 GUIEditor = { tab = {}, staticimage = {}, tabpanel = {}, label = {}, button = {}, window = {} } function guiCreateWindow( x2, y2, width2, height2, titleBarText2, relative2 ) local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "mnGr7.png", relative2 ) local mainBackgroundLabel = guiCreateLabel ( 0, 0, 250, 100, titleBarText2, false, mainBackground ) guiSetFont ( mainBackgroundLabel, newFont ) guiSetEnabled ( mainBackgroundLabel, false ) return mainBackground end GUIEditor.window[1] = guiCreateWindow(94, 58, 627, 500, "", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetVisible (GUIEditor.window[1], false) GUIEditor.button[1] = guiCreateButton(189, 451, 267, 39, "Close", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "sa-header") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.tabpanel[1] = guiCreateTabPanel(9, 32, 608, 414, false, GUIEditor.window[1]) GUIEditor.tab[1] = guiCreateTab("آلـقـوآنـيـن", GUIEditor.tabpanel[1]) GUIEditor.staticimage[1] = guiCreateStaticImage(2, 0, 602, 385, ":RulesPanel/1.png", false, GUIEditor.tab[1]) GUIEditor.tab[2] = guiCreateTab("قـوآنـيـن إلآدمـن", GUIEditor.tabpanel[1]) GUIEditor.staticimage[2] = guiCreateStaticImage(1, 0, 607, 390, ":RulesPanel/3.png", false, GUIEditor.tab[2]) GUIEditor.tab[3] = guiCreateTab("شـروط آلأدمن", GUIEditor.tabpanel[1]) GUIEditor.staticimage[3] = guiCreateStaticImage(1, 0, 607, 390, ":RulesPanel/2.png", false, GUIEditor.tab[3]) GUIEditor.tab[4] = guiCreateTab("آلآدراهه", GUIEditor.tabpanel[1]) GUIEditor.staticimage[4] = guiCreateStaticImage(1, 0, 607, 390, ":RulesPanel/5.png", false, GUIEditor.tab[4]) GUIEditor.label[1] = guiCreateLabel(-6, 417, 183, 47, "", false, GUIEditor.tabpanel[1]) GUIEditor.label[2] = guiCreateLabel(19, 453, 187, 47, "By : mnGr7", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "sa-header") guiLabelSetColor(GUIEditor.label[2], 126, 245, 9) -- الزر -- bindKey ( "F9" , "down" , function() guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])) showCursor(guiGetVisible (GUIEditor.window[1])) end ) -- اغلاق البتون -- function showGUIbf() guiSetVisible (GUIEditor.window[1], false ) showCursor ( false ) end addEventHandler("onClientGUIClick", GUIEditor.button[1], showGUIbf, false) عندك ايند وقوس زايده -,-" Link to comment
^#Dream Posted June 19, 2014 Author Share Posted June 19, 2014 GUIEditor = { tab = {}, staticimage = {}, tabpanel = {}, label = {}, button = {}, window = {} } function guiCreateWindow( x2, y2, width2, height2, titleBarText2, relative2 ) local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "mnGr7.png", relative2 ) local mainBackgroundLabel = guiCreateLabel ( 0, 0, 250, 100, titleBarText2, false, mainBackground ) guiSetFont ( mainBackgroundLabel, newFont ) guiSetEnabled ( mainBackgroundLabel, false ) return mainBackground end GUIEditor.window[1] = guiCreateWindow(94, 58, 627, 500, "", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetVisible (GUIEditor.window[1], false) GUIEditor.button[1] = guiCreateButton(189, 451, 267, 39, "Close", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "sa-header") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.tabpanel[1] = guiCreateTabPanel(9, 32, 608, 414, false, GUIEditor.window[1]) GUIEditor.tab[1] = guiCreateTab("آلـقـوآنـيـن", GUIEditor.tabpanel[1]) GUIEditor.staticimage[1] = guiCreateStaticImage(2, 0, 602, 385, ":RulesPanel/1.png", false, GUIEditor.tab[1]) GUIEditor.tab[2] = guiCreateTab("قـوآنـيـن إلآدمـن", GUIEditor.tabpanel[1]) GUIEditor.staticimage[2] = guiCreateStaticImage(1, 0, 607, 390, ":RulesPanel/3.png", false, GUIEditor.tab[2]) GUIEditor.tab[3] = guiCreateTab("شـروط آلأدمن", GUIEditor.tabpanel[1]) GUIEditor.staticimage[3] = guiCreateStaticImage(1, 0, 607, 390, ":RulesPanel/2.png", false, GUIEditor.tab[3]) GUIEditor.tab[4] = guiCreateTab("آلآدراهه", GUIEditor.tabpanel[1]) GUIEditor.staticimage[4] = guiCreateStaticImage(1, 0, 607, 390, ":RulesPanel/5.png", false, GUIEditor.tab[4]) GUIEditor.label[1] = guiCreateLabel(-6, 417, 183, 47, "", false, GUIEditor.tabpanel[1]) GUIEditor.label[2] = guiCreateLabel(19, 453, 187, 47, "By : mnGr7", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "sa-header") guiLabelSetColor(GUIEditor.label[2], 126, 245, 9) -- الزر -- bindKey ( "F9" , "down" , function() guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])) showCursor(guiGetVisible (GUIEditor.window[1])) end ) -- اغلاق البتون -- function showGUIbf() guiSetVisible (GUIEditor.window[1], false ) showCursor ( false ) end addEventHandler("onClientGUIClick", GUIEditor.button[1], showGUIbf, false) عندك ايند وقوس زايده مشششكور Link to comment
The Killer Posted June 19, 2014 Share Posted June 19, 2014 حياك الله , عادي وخره , انت الي حاطه مب انا Link to comment
^#Dream Posted June 19, 2014 Author Share Posted June 19, 2014 انا ماحططيتهه مهو في الكلنت بعد Link to comment
The Killer Posted June 19, 2014 Share Posted June 19, 2014 انا اشوف انن فيه 4 تابات القوانين شروط الادمن قوانين الادمن الاداره ثاني شي انا اصلا ماقربت للوحه , صلحت الزر , + شلت الايند الزايد والقوس ولو فيه تاب زايد ماهي مشكله كبيره يمديك توخره بنفسك مايبالها شي 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