Jump to content

تعديل كود


Recommended Posts

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
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
الحين هنا
guiEditSetMasked ( editPassword, guiCheckBoxGetSelected ( source ) ) 

الكود كلنت والسورس مو معرف

localPlayer المفروض

-_- مادخلت مخي

السورس معناها بالعربي مصدر

والمصدر مقصود فيه مصدر الحادث

والمصدر هو الشيك بوكس اللي انضغطت فهمت ؟

السورس مو شرط يكون لاعب

فهمت ؟

Link to comment
الحين هنا
guiEditSetMasked ( editPassword, guiCheckBoxGetSelected ( source ) ) 

الكود كلنت والسورس مو معرف

localPlayer المفروض

-_- مادخلت مخي

The source of this event is the GUI element that was clicked.

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...