Live.n8 Posted May 11, 2015 Share Posted May 11, 2015 editPassword = guiCreateEdit(62,201,157,32,"",false,mainWindow) guiEditSetMaxLength(editPassword,20) guiEditSetMasked(editPassword,true) guiSetAlpha(editPassword,0.40000000596046) pass = guiCreateCheckBox(319, 337, 106, 15, "ShowPassword",false,mainWindow) guiSetFont(pass, "default-bold-small") guiSetProperty(pass, "NormalTextColour", "FF00FF0C") addEventHandler("onClientGUIClick",root, function () if source == pass then if ( guiCheckBoxGetSelected(pass) ) then guiEditSetMasked(editPassword, false) -- اخفاءباسورد else guiEditSetMasked(editPassword, true) -- اظهار باسورد end end end ) Link to comment
</Mr.Tn6eL> Posted May 11, 2015 Share Posted May 11, 2015 addEventHandler("onClientGUIClick", resourceRoot, function( ) if source == pass then guiEditSetMasked(editPassword, guiCheckBoxGetSelected(source)) end end) Link to comment
Live.n8 Posted May 11, 2015 Author Share Posted May 11, 2015 شباب سويتتتت زي ماقال تنطيل وماضبط وسئلت 3 مبرمجين وماضبطططططططططططط الي يعرف يضبطه يسويه كامل ويرسله هنا Link to comment
shwaeki Posted May 11, 2015 Share Posted May 11, 2015 (edited) القسم غلط القسم الصحيح viewtopic.php?f=119&t=87846&view=unread#unread اطرح كل اكوادك عشين نفيدك Edited May 11, 2015 by Guest Link to comment
</Mr.Tn6eL> Posted May 11, 2015 Share Posted May 11, 2015 شباب سويتتتت زي ماقال تنطيل وماضبط وسئلت 3 مبرمجين وماضبطططططططططططط الي يعرف يضبطه يسويه كامل ويرسله هنا اجل المشكلة من عندك Link to comment
yazan Posted May 11, 2015 Share Posted May 11, 2015 addEventHandler("onClientResourceStart", resourceRoot, function() editPassword = guiCreateEdit(62,201,157,32,"",false,mainWindow) guiEditSetMaxLength(editPassword,20) guiEditSetMasked(editPassword,true) guiSetAlpha(editPassword,0.40000000596046) pass = guiCreateCheckBox(319, 337, 106, 15, "ShowPassword",false,mainWindow) guiSetFont(pass, "default-bold-small") guiSetProperty(pass, "NormalTextColour", "FF00FF0C") end) addEventHandler("onClientGUIClick",root, function () if source == pass then guiEditSetMasked(editPassword, guiCheckBoxGetSelected(source)) end end) Link to comment
Mr.R Posted May 13, 2015 Share Posted May 13, 2015 الحين هنا guiEditSetMasked ( editPassword, guiCheckBoxGetSelected ( source ) ) الكود كلنت والسورس مو معرف localPlayer المفروض مادخلت مخي Link to comment
' A F . Posted May 13, 2015 Share Posted May 13, 2015 شوف الصفحة ف الويكي وشوف المثال Link to comment
</Mr.Tn6eL> Posted May 13, 2015 Share Posted May 13, 2015 الحين هنا guiEditSetMasked ( editPassword, guiCheckBoxGetSelected ( source ) ) الكود كلنت والسورس مو معرف localPlayer المفروض مادخلت مخي السورس معناها بالعربي مصدر والمصدر مقصود فيه مصدر الحادث والمصدر هو الشيك بوكس اللي انضغطت فهمت ؟ السورس مو شرط يكون لاعب فهمت ؟ Link to comment
yazan Posted May 13, 2015 Share Posted May 13, 2015 الحين هنا guiEditSetMasked ( editPassword, guiCheckBoxGetSelected ( source ) ) الكود كلنت والسورس مو معرف localPlayer المفروض مادخلت مخي The source of this event is the GUI element that was clicked. 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