Rockyz Posted August 8, 2015 Share Posted August 8, 2015 (edited) Deleted. Edited August 8, 2015 by Guest Link to comment
Rockyz Posted August 8, 2015 Author Share Posted August 8, 2015 (edited) Deleted. Edited August 8, 2015 by Guest Link to comment
</Mr.Tn6eL> Posted August 8, 2015 Share Posted August 8, 2015 تفضل هنا مشكوور لاكن عندي طلب ثاني الي هو باسوورد في ميمو او اديت بوكس يعني تكتب الكلمة سر تفتح الوحة ممكن ؟ if guiGetText(edit) == "Password" then guiSetVisible(wnd, true) showCursor(true) end Link to comment
Rockyz Posted August 8, 2015 Author Share Posted August 8, 2015 (edited) Deleted. Edited August 8, 2015 by Guest Link to comment
Rockyz Posted August 8, 2015 Author Share Posted August 8, 2015 (edited) Deleted. Edited August 8, 2015 by Guest Link to comment
#Wizard Posted August 8, 2015 Share Posted August 8, 2015 if guiGetText(GUIEditor.edit[1]) == "Test" then guiSetVisible(w2, true) guiSetVisible(w1, false) showCursor(true) outputChatBox("Welcome !") else outputChatBox("This Password Are Not Correct") end تحطها يوم يضغط الزر Link to comment
Rockyz Posted August 8, 2015 Author Share Posted August 8, 2015 (edited) Deleted. Edited August 8, 2015 by Guest Link to comment
</Mr.Tn6eL> Posted August 8, 2015 Share Posted August 8, 2015 اانا معطيك بس مثال وانت عاد تكمل لكن تفاجئت لما حطيته باخر سطر وشغلته Link to comment
Rockyz Posted August 8, 2015 Author Share Posted August 8, 2015 (edited) Deleted. Edited August 8, 2015 by Guest Link to comment
</Mr.Tn6eL> Posted August 8, 2015 Share Posted August 8, 2015 اانا معطيك بس مثال وانت عاد تكمللكن تفاجئت لما حطيته باخر سطر وشغلته طيب عطني الكود هات 5 ريال وعطيك الكود ترا ماحنا شغالين عندك سوي لك افنت ضغط الزر وحط المثال فيه وجرب و Link to comment
Rockyz Posted August 8, 2015 Author Share Posted August 8, 2015 (edited) Deleted. Edited August 8, 2015 by Guest Link to comment
Rockyz Posted August 8, 2015 Author Share Posted August 8, 2015 (edited) Deleted. Edited August 8, 2015 by Guest Link to comment
</Mr.Tn6eL> Posted August 8, 2015 Share Posted August 8, 2015 أنت قلت ماتبي مني مساعدة Link to comment
Rockyz Posted August 8, 2015 Author Share Posted August 8, 2015 (edited) Deleted. Edited August 8, 2015 by Guest Link to comment
Rockyz Posted August 8, 2015 Author Share Posted August 8, 2015 (edited) مايحتاج اصلا خلاص Edited August 8, 2015 by Guest Link to comment
i S6O Posted August 8, 2015 Share Posted August 8, 2015 ليه تسوي كل الموضوع ؟ Deleted ? ماتبي يستفيد غيرك ؟ Link to comment
Rockyz Posted August 8, 2015 Author Share Posted August 8, 2015 ليه تسوي كل الموضوع ؟Deleted ? ماتبي يستفيد غيرك ؟ يستفيد في ويش في الكلام ؟ كل الاكواد الي انا طرحتها ماتشتغل ابي اعرف وش الفايدة ؟ Link to comment
iMr.SFA7 Posted August 8, 2015 Share Posted August 8, 2015 عطاك مثال ما باقي الا تحطه في حدث Button = Your button edit = Your edit addEventHandler ("onClientGUIClick",Button, function () if guiGetText(edit) == "Password" then guiSetVisible(wnd, true) showCursor(true) end end,false ) Link to comment
Rockyz Posted August 8, 2015 Author Share Posted August 8, 2015 عطاك مثال ما باقي الا تحطه في حدثButton = Your button edit = Your edit addEventHandler ("onClientGUIClick",Button, function () if guiGetText(edit) == "Password" then guiSetVisible(wnd, true) showCursor(true) end end,false ) طيب دة ماشتغل GUIEditor = { button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() mp = guiCreateWindow(237, 157, 352, 292, "Password", false) guiWindowSetSizable(mp, false) guiSetVisible(mp, false) mpe = guiCreateEdit(68, 94, 203, 25, "", false, mp) guiSetProperty(mpe, "NormalTextColour", "FFFF0000") mpb = guiCreateButton(45, 173, 236, 55, "Press Here", false, mp) guiSetProperty(mpb, "NormalTextColour", "FFAAAAAA") mp2 = guiCreateWindow(54, 161, 166, 278, "Welcome", false) guiWindowSetSizable(mp2, false) guiSetVisible(mp2, false) GUIEditor.button[1] = guiCreateButton(13, 125, 128, 47, "Hello !", false, mp2) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") end ) addEventHandler ("onClientGUIClick",mpd, function () if guiGetText(mpe) == "Go" then guiSetVisible(mp2, true) showCursor(true) end end,false ) guiSetVisible (mp, false) function Owv() if guiGetVisible ( mp ) then guiSetVisible ( mp, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( mp, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F1", "down", Owv) Link to comment
iMr.SFA7 Posted August 8, 2015 Share Posted August 8, 2015 تأكد أنك ضغط الزرالي اسمه mpd GUIEditor = { button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() mp = guiCreateWindow(237, 157, 352, 292, "Password", false) guiWindowSetSizable(mp, false) guiSetVisible(mp, false) mpe = guiCreateEdit(68, 94, 203, 25, "", false, mp) guiSetProperty(mpe, "NormalTextColour", "FFFF0000") mpb = guiCreateButton(45, 173, 236, 55, "Press Here", false, mp) guiSetProperty(mpb, "NormalTextColour", "FFAAAAAA") mp2 = guiCreateWindow(54, 161, 166, 278, "Welcome", false) guiWindowSetSizable(mp2, false) guiSetVisible(mp2, false) GUIEditor.button[1] = guiCreateButton(13, 125, 128, 47, "Hello !", false, mp2) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") end ) addEventHandler ("onClientGUIClick",root, function () if ( source == mpd ) then if guiGetText(mpe) == "Go" then guiSetVisible(mp2, true) showCursor(true) end end end ) guiSetVisible (mp, false) function Owv() if guiGetVisible ( mp ) then guiSetVisible ( mp, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( mp, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F1", "down", Owv) Link to comment
Rockyz Posted August 8, 2015 Author Share Posted August 8, 2015 تأكد أنك ضغط الزرالي اسمه mpd GUIEditor = { button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() mp = guiCreateWindow(237, 157, 352, 292, "Password", false) guiWindowSetSizable(mp, false) guiSetVisible(mp, false) mpe = guiCreateEdit(68, 94, 203, 25, "", false, mp) guiSetProperty(mpe, "NormalTextColour", "FFFF0000") mpb = guiCreateButton(45, 173, 236, 55, "Press Here", false, mp) guiSetProperty(mpb, "NormalTextColour", "FFAAAAAA") mp2 = guiCreateWindow(54, 161, 166, 278, "Welcome", false) guiWindowSetSizable(mp2, false) guiSetVisible(mp2, false) GUIEditor.button[1] = guiCreateButton(13, 125, 128, 47, "Hello !", false, mp2) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") end ) addEventHandler ("onClientGUIClick",root, function () if ( source == mpd ) then if guiGetText(mpe) == "Go" then guiSetVisible(mp2, true) showCursor(true) end end end ) guiSetVisible (mp, false) function Owv() if guiGetVisible ( mp ) then guiSetVisible ( mp, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( mp, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F1", "down", Owv) تمت الافادة 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