salh Posted June 28, 2017 Share Posted June 28, 2017 السلام عليكم شباب انا معي مشلكه انا سويت لوحة dx و كل شي بس حطيت معاها button dx تشتغل بس button ما يشتغل ذا الكود GUIEditor = { button = {} } GUIEditor.button[1] = guiCreateButton(296, 217, 189, 63, "", false) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(583, 221, 189, 63, "", false) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") GUIEditor.button[3] = guiCreateButton(301, 338, 189, 63, "", false) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFAAAAAA") GUIEditor.button[4] = guiCreateButton(302, 463, 189, 63, "", false) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFAAAAAA") GUIEditor.button[5] = guiCreateButton(584, 463, 189, 63, "", false) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFAAAAAA") GUIEditor.button[6] = guiCreateButton(584, 338, 189, 63, "", false) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFAAAAAA") local screenW, screenH = guiGetScreenSize() function dx() dxDrawRectangle(245, 140, 573, 459, tocolor(255, 0, 0, 159), false) dxDrawRectangle(292, 211, 208, 79, tocolor(33, 9, 255, 190), false) dxDrawRectangle(574, 211, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(292, 328, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(292, 453, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(574, 328, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(574, 453, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(245, 140, 573, 61, tocolor(65, 255, 0, 190), false) dxDrawText("Veh System |Salh", 249, 143, 814, 196, tocolor(0, 0, 0, 190), 2.40, "default", "center", "center", false, false, false, false, false) end function Open() if removeEventHandler("onClientRender", root, dx) then showCursor(false) guiSetInputEnabled(false) else addEventHandler("onClientRender", root, dx) showCursor(true) guiSetInputEnabled(true) end end bindKey("F6", "down", Open) و سلام Link to comment
L3yr Posted June 29, 2017 Share Posted June 29, 2017 On ٢٨/٦/٢٠١٧ at 03:46, salh said: السلام عليكم شباب انا معي مشلكه انا سويت لوحة dx و كل شي بس حطيت معاها button dx تشتغل بس button ما يشتغل ذا الكود GUIEditor = { button = {} } GUIEditor.button[1] = guiCreateButton(296, 217, 189, 63, "", false) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(583, 221, 189, 63, "", false) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") GUIEditor.button[3] = guiCreateButton(301, 338, 189, 63, "", false) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFAAAAAA") GUIEditor.button[4] = guiCreateButton(302, 463, 189, 63, "", false) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFAAAAAA") GUIEditor.button[5] = guiCreateButton(584, 463, 189, 63, "", false) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFAAAAAA") GUIEditor.button[6] = guiCreateButton(584, 338, 189, 63, "", false) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFAAAAAA") local screenW, screenH = guiGetScreenSize() function dx() dxDrawRectangle(245, 140, 573, 459, tocolor(255, 0, 0, 159), false) dxDrawRectangle(292, 211, 208, 79, tocolor(33, 9, 255, 190), false) dxDrawRectangle(574, 211, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(292, 328, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(292, 453, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(574, 328, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(574, 453, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(245, 140, 573, 61, tocolor(65, 255, 0, 190), false) dxDrawText("Veh System |Salh", 249, 143, 814, 196, tocolor(0, 0, 0, 190), 2.40, "default", "center", "center", false, false, false, false, false) end function Open() if removeEventHandler("onClientRender", root, dx) then showCursor(false) guiSetInputEnabled(false) else addEventHandler("onClientRender", root, dx) showCursor(true) guiSetInputEnabled(true) end end bindKey("F6", "down", Open) و سلام الازرار مش بتظهر يعنى ؟؟ Link to comment
salh Posted June 29, 2017 Author Share Posted June 29, 2017 23 minutes ago, L3yr said: الازرار مش بتظهر يعنى ؟؟ الازار تظهر بس في وجهي Link to comment
L3yr Posted June 29, 2017 Share Posted June 29, 2017 (edited) 1 hour ago, salh said: الازار تظهر بس في وجهي لو قصدك تظهر اول ما تشغل المود فى وجهك جرب GUIEditor = { button = {} } GUIEditor.button[1] = guiCreateButton(296, 217, 189, 63, "", false) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[1],false) GUIEditor.button[2] = guiCreateButton(583, 221, 189, 63, "", false) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[2],false) GUIEditor.button[3] = guiCreateButton(301, 338, 189, 63, "", false) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[3],false) GUIEditor.button[4] = guiCreateButton(302, 463, 189, 63, "", false) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[4],false) GUIEditor.button[5] = guiCreateButton(584, 463, 189, 63, "", false) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[5],false) GUIEditor.button[6] = guiCreateButton(584, 338, 189, 63, "", false) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[6],false) local screenW, screenH = guiGetScreenSize() function dx() dxDrawRectangle(245, 140, 573, 459, tocolor(255, 0, 0, 159), false) dxDrawRectangle(292, 211, 208, 79, tocolor(33, 9, 255, 190), false) dxDrawRectangle(574, 211, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(292, 328, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(292, 453, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(574, 328, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(574, 453, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(245, 140, 573, 61, tocolor(65, 255, 0, 190), false) dxDrawText("Veh System |Salh", 249, 143, 814, 196, tocolor(0, 0, 0, 190), 2.40, "default", "center", "center", false, false, false, false, false) end function Open() if removeEventHandler("onClientRender", root, dx) then showCursor(false) guiSetVisible( GUIEditor.button[1],false) guiSetVisible( GUIEditor.button[2],false) guiSetVisible( GUIEditor.button[3],false) guiSetVisible( GUIEditor.button[4],false) guiSetVisible( GUIEditor.button[5],false) guiSetVisible( GUIEditor.button[6],false) guiSetInputEnabled(false) else addEventHandler("onClientRender", root, dx) showCursor(true) guiSetInputEnabled(true) guiSetVisible( GUIEditor.button[1],true) guiSetVisible( GUIEditor.button[2],true) guiSetVisible( GUIEditor.button[3],true) guiSetVisible( GUIEditor.button[4],true) guiSetVisible( GUIEditor.button[5],true) guiSetVisible( GUIEditor.button[6],true) end end bindKey("F6", "down", Open) Edited June 29, 2017 by L3yr Link to comment
Mr.OppS Posted June 29, 2017 Share Posted June 29, 2017 4 minutes ago, L3yr said: لو قصدك تظهر اول ما تشغل المود فى وجهك جرب GUIEditor = { button = {} } GUIEditor.button[1] = guiCreateButton(296, 217, 189, 63, "", false) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[1],false) GUIEditor.button[2] = guiCreateButton(583, 221, 189, 63, "", false) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[2],false) GUIEditor.button[3] = guiCreateButton(301, 338, 189, 63, "", false) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[3],false) GUIEditor.button[4] = guiCreateButton(302, 463, 189, 63, "", false) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[4],false) GUIEditor.button[5] = guiCreateButton(584, 463, 189, 63, "", false) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[5],false) GUIEditor.button[6] = guiCreateButton(584, 338, 189, 63, "", false) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[6],false) local screenW, screenH = guiGetScreenSize() function dx() dxDrawRectangle(245, 140, 573, 459, tocolor(255, 0, 0, 159), false) dxDrawRectangle(292, 211, 208, 79, tocolor(33, 9, 255, 190), false) dxDrawRectangle(574, 211, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(292, 328, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(292, 453, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(574, 328, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(574, 453, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(245, 140, 573, 61, tocolor(65, 255, 0, 190), false) dxDrawText("Veh System |Salh", 249, 143, 814, 196, tocolor(0, 0, 0, 190), 2.40, "default", "center", "center", false, false, false, false, false) end function Open() if removeEventHandler("onClientRender", root, dx) then showCursor(false) guiSetInputEnabled(false) else addEventHandler("onClientRender", root, dx) showCursor(true) guiSetInputEnabled(true) guiSetVisible( GUIEditor.button[1],true) guiSetVisible( GUIEditor.button[2],true) guiSetVisible( GUIEditor.button[3],true) guiSetVisible( GUIEditor.button[4],true) guiSetVisible( GUIEditor.button[5],true) guiSetVisible( GUIEditor.button[6],true) end end bindKey("F6", "down", Open) كـود نـاقـص - الان هو يشغل مود الازرار ماراح تظهر في وجهة !! يضغط اف6 = راح تشتغل لوحة بس اذا ضغط اف6 مرة اخري حتي يخفي الوحة = الازرار ماتختفي ,,هههههههههـ جــــرب هـذا ,, ضـفـت علـيـة تختفي الازرار 1 hour ago, salh said: الازار تظهر بس في وجهي ^____^ GUIEditor = { button = {} } GUIEditor.button[1] = guiCreateButton(296, 217, 189, 63, "", false) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[1],false) GUIEditor.button[2] = guiCreateButton(583, 221, 189, 63, "", false) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[2],false) GUIEditor.button[3] = guiCreateButton(301, 338, 189, 63, "", false) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[3],false) GUIEditor.button[4] = guiCreateButton(302, 463, 189, 63, "", false) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[4],false) GUIEditor.button[5] = guiCreateButton(584, 463, 189, 63, "", false) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[5],false) GUIEditor.button[6] = guiCreateButton(584, 338, 189, 63, "", false) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[6],false) local screenW, screenH = guiGetScreenSize() function dx() dxDrawRectangle(245, 140, 573, 459, tocolor(255, 0, 0, 159), false) dxDrawRectangle(292, 211, 208, 79, tocolor(33, 9, 255, 190), false) dxDrawRectangle(574, 211, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(292, 328, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(292, 453, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(574, 328, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(574, 453, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(245, 140, 573, 61, tocolor(65, 255, 0, 190), false) dxDrawText("Veh System |Salh", 249, 143, 814, 196, tocolor(0, 0, 0, 190), 2.40, "default", "center", "center", false, false, false, false, false) end function Open() if removeEventHandler("onClientRender", root, dx) then showCursor(false) guiSetInputEnabled(false) guiSetVisible( GUIEditor.button[1],false) guiSetVisible( GUIEditor.button[2],false) guiSetVisible( GUIEditor.button[3],false) guiSetVisible( GUIEditor.button[4],false) guiSetVisible( GUIEditor.button[5],false) guiSetVisible( GUIEditor.button[6],false) else addEventHandler("onClientRender", root, dx) showCursor(true) guiSetInputEnabled(true) guiSetVisible( GUIEditor.button[1],true) guiSetVisible( GUIEditor.button[2],true) guiSetVisible( GUIEditor.button[3],true) guiSetVisible( GUIEditor.button[4],true) guiSetVisible( GUIEditor.button[5],true) guiSetVisible( GUIEditor.button[6],true) end end bindKey("F6", "down", Open) Link to comment
L3yr Posted June 29, 2017 Share Posted June 29, 2017 2 minutes ago, Mr.OppS said: كـود نـاقـص - الان هو يشغل مود الازرار ماراح تظهر في وجهة !! يضغط اف6 = راح تشتغل لوحة بس اذا ضغط اف6 مرة اخري حتي يخفي الوحة = الازرار ماتختفي ,,هههههههههـ جــــرب هـذا ,, ضـفـت علـيـة تختفي الازرار ^____^ GUIEditor = { button = {} } GUIEditor.button[1] = guiCreateButton(296, 217, 189, 63, "", false) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[1],false) GUIEditor.button[2] = guiCreateButton(583, 221, 189, 63, "", false) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[2],false) GUIEditor.button[3] = guiCreateButton(301, 338, 189, 63, "", false) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[3],false) GUIEditor.button[4] = guiCreateButton(302, 463, 189, 63, "", false) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[4],false) GUIEditor.button[5] = guiCreateButton(584, 463, 189, 63, "", false) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[5],false) GUIEditor.button[6] = guiCreateButton(584, 338, 189, 63, "", false) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFAAAAAA") guiSetVisible( GUIEditor.button[6],false) local screenW, screenH = guiGetScreenSize() function dx() dxDrawRectangle(245, 140, 573, 459, tocolor(255, 0, 0, 159), false) dxDrawRectangle(292, 211, 208, 79, tocolor(33, 9, 255, 190), false) dxDrawRectangle(574, 211, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(292, 328, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(292, 453, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(574, 328, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(574, 453, 208, 79, tocolor(0, 48, 255, 190), false) dxDrawRectangle(245, 140, 573, 61, tocolor(65, 255, 0, 190), false) dxDrawText("Veh System |Salh", 249, 143, 814, 196, tocolor(0, 0, 0, 190), 2.40, "default", "center", "center", false, false, false, false, false) end function Open() if removeEventHandler("onClientRender", root, dx) then showCursor(false) guiSetInputEnabled(false) guiSetVisible( GUIEditor.button[1],false) guiSetVisible( GUIEditor.button[2],false) guiSetVisible( GUIEditor.button[3],false) guiSetVisible( GUIEditor.button[4],false) guiSetVisible( GUIEditor.button[5],false) guiSetVisible( GUIEditor.button[6],false) else addEventHandler("onClientRender", root, dx) showCursor(true) guiSetInputEnabled(true) guiSetVisible( GUIEditor.button[1],true) guiSetVisible( GUIEditor.button[2],true) guiSetVisible( GUIEditor.button[3],true) guiSetVisible( GUIEditor.button[4],true) guiSetVisible( GUIEditor.button[5],true) guiSetVisible( GUIEditor.button[6],true) end end bindKey("F6", "down", Open) يا حبيبى انا عدلته قبل ما تتكلم شوف التعديل وتعال اتكلم Link to comment
Mr.OppS Posted June 29, 2017 Share Posted June 29, 2017 1 minute ago, L3yr said: يا حبيبى انا عدلته قبل ما تتكلم شوف التعديل وتعال اتكلم روح أنــت شوف أكـوادك !! وشوف أكـوآدي !! ,و راح تفـهـم Link to comment
L3yr Posted June 29, 2017 Share Posted June 29, 2017 (edited) 8 minutes ago, Mr.OppS said: روح أنــت شوف أكـوادك !! وشوف أكـوآدي !! ,و راح تفـهـم انت ضفت اخففاء الازرار لما يضغط اف 6 مر تانيه صح ......طيب ما انا عدلته قبل ما تنزل موضوعك شكل النت بايظ عندك ومش شايف تعديلى على الكود وهتلاقى تعديلى من 17 دقيقه وانت منزل موضوعك بعدى ب 4 ق Edited June 29, 2017 by L3yr 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