Rockyz Posted August 8, 2015 Share Posted August 8, 2015 Hello Guys I Think This Code Wrong Its A Test For A Password Mod Please Fix It 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
#Madara Posted August 8, 2015 Share Posted August 8, 2015 what's the problem in your code ? and what are you trying to do ? Link to comment
Rockyz Posted August 8, 2015 Author Share Posted August 8, 2015 what's the problem in your code ? and what are you trying to do ? Any Way Thanks I fix it Link to comment
#Madara Posted August 8, 2015 Share Posted August 8, 2015 what's the problem in your code ? and what are you trying to do ? Any Way Thanks I fix it np 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