Dimos7 Posted November 1, 2016 Share Posted November 1, 2016 --Client setCameraMatrix(-2057.1525878906, 1029.9833984375, 63.992084503174, 0, 0, 0.10) showChat(false) showPlayerHudComponent("all", false) function createLoginWindow() window = exports["dxgui_v1"]:dxCreateWindow(733, 395, 466, 256, "Login Panel", tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") dxWindowSetMovable(window, false) userl = exports["dxgui_v1"]:dxCreateLabel(15, 49, 71, 24, "Username:", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") username = guiCreateEdit(91, 47, 258, 26, "", false, window) passl = exports["dxgui_v1"]:dxCreateLabel(15, 110, 71, 24, "Password:", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") password = guiCreateEdit(91, 108, 258, 26, "", false, window) guiEditSetMasked(password, true) reme = guiCreateCheckBox(79, 167, 126, 15, "Remember me", false , false, window) register = exports["dxgui_v1"]:dxCreateButton(69, 212, 87, 34, "Register", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") login = exports["dxgui_v1"]:dxCreateButton(226, 212, 87, 34, "Login", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") guest = exports["dxgui_v1"]dxCreateButton(397, 34, 31, 33, "X", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") addEventHandler("onClientGUIClick", reme, saveInfo) addEventHandler("onClientDXClick", register, clientSubmitRegister) addEventHandler("onClientDXClick", login, clientSubmitLogin) addEventHandler("onClientDXClick", guest, clietnGuestClick) end function resourceStart() createLoginWindow() if (window ~= nil) then dxSetVisible(window, true) else exports["xp-annunce"]:sentClientMessage("An error has occupied!", localPlayer, 255, 0, 0, true) end showCursor(true) guiSetInputEnabled(true) end function clietnGuestClick(button, state) if button == "left" and state == "up" then dxSetVisible(window, false) showCursor(false) guiSetInputEnabled(false) setCameraTarget(localPlayer) showChat(true) showPlayerHudComponent("all", true) end end function clientSubmitRegister(button, state) if button == "left" and state =="up" then username = guiGetText(username) password = guiGetText(password) if username ~= "" and password ~= "" then triggerServerEvent("submitRegister", root, localPlayer, username, password) else exports["xp-annunce"]:sentClientMessage("Enter username and password!", localPlayer, 255, 0, 0, true) end end end function clientSubmitLogin(button, state) if button == "left" and state == "up" then username = guiGetText(username) password = guiGetText(password) if username ~= "" and password ~= "" then triggerServerEvent("submitLogin", root, localPlayer, username, password) else exports["xp-annunce"]:sentClientMessage("Enter username and password!", localPlayer, 255, 0, 0, true) end end end function saveInfo(button, state) if button == "left" and state == "up" then guiCheckBoxSetSelected(reme, true) username = guiGetText(username) password = guiGetText(password) if username ~= "" and password ~= "" then triggerServerEvent("submitInfo", root, localPlayer, username, password) else exports["xp-annunce"]:sentClientMessage("Enter username and password!", localPlayer, 255, 0, 0, true) end if guiCheckBoxGetSelected(reme) == true then user = getElementData(localPlayer, "username") pass = getElementData(localPlayer, "password") guiSetText(username, user) guiSetText(password, pass) else guiSetText(username, "") guiSetText(password, "") end elseif button =="left" and state == "up" then guiCheckBoxSetSelected(reme, false) end end function hideLoginWindow() dxSetVisible(window, false) showCursor(false) guiSetInputEnabled(false) showChat(true) showPlayerHudComponent("all", true) end addEvent("hideLoginWindow", true) addEventHandler("hideLoginWindow", root, hideLoginWindow) addEventHandler("onClientResourceStart", resourceRoot, resourceStart) --Server function loginHandler(thePlayer, username, password) local account = getAccount(username, password) if account ~= false then if (logIn(thePlayer, account, password) == true) then triggerClientEvent(thePlayer, "hideLoginWindow", root) exports["xp-announce"]:sentClientMessage("INFO: Welcome"..getPlayerName(thePlayer).."you successfully logged in!", thePlayer, 0, 255, 0, true) else exports["xp-announce"]:sentClientMessage("Error please report it to forum", thePlayer, 255, 0, 0, true) end else exports["xp-announce"]:sentClientMessage("Username or password are incorrect!", thePlayer, 255, 0, 0, true) end end function registerHandler(thePlayer, username, password) local account = getAccount(username, password) if account ~= false then exports["xp-announce"]:sentClientMessage("Username is already in exist!", thePlayer, 255, 0, 0, true) else account = addAccount(username, password) exports["xp-announce"]:sentClientMessage("INFO: You successfully registed!", thePlayer, 0, 255, 0, true) end end function reminderHandler(thePlayer, username, password) local account= getAccount(username, password) if account then setElementData(thePlayer, "username", username) setElementData(thePlayer, "password", password) end end addEvent("submitLogin", true) addEvent("submitRegister", true) addEvent("submitInfo", true) addEventHandler("submitLogin", root, loginHandler) addEventHandler("submitRegister", root, reminderHandler) addEventHandler("submitInfo", root, reminderHandler) c_login error line 7 dxWindowSetMovable(a nill value) Link to comment
Dimos7 Posted November 1, 2016 Author Share Posted November 1, 2016 is anthere anywasy take camera look from map editor i mean i want put the camera look at one spot but i can't manage it Link to comment
iPrestege Posted November 1, 2016 Share Posted November 1, 2016 the error because this function is not a mta function use exports as you did to create the window to set the dx window moveable i'm not sure if there is any more errors i'm posting this from my phone so try that and tell us if there is anymore errors Link to comment
Abdul KariM Posted November 1, 2016 Share Posted November 1, 2016 reset this dxWindowSetMovable(window, false) to this exports["dxgui_v1"]:dxWindowSetMovable( window , false ) Good luck Link to comment
Dimos7 Posted November 1, 2016 Author Share Posted November 1, 2016 (edited) i try it still take error global export this time Edited November 1, 2016 by Dimos7 Link to comment
iPrestege Posted November 1, 2016 Share Posted November 1, 2016 are you sure that dxWindowSetMovable existing function in dx gui resouce? check that. Link to comment
Dimos7 Posted November 1, 2016 Author Share Posted November 1, 2016 (edited) yes it exist setCameraMatrix(-2057.1525878906, 1029.9833984375, 63.992084503174, 0, 0, 42, 0, 180) showChat(false) showPlayerHudComponent("all", false) function createLoginWindow() window = exports["dxgui_v1"]:dxCreateWindow(733, 395, 466, 256, "Login Panel", tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") exports["dxgui_v1"]:dxWindowSetMovable(window, false) userl = exports["dxgui_v1"]:dxCreateLabel(15, 49, 71, 24, "Username:", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") username = guiCreateEdit(91, 47, 258, 26, "", false, window) passl = exports["dxgui_v1"]:dxCreateLabel(15, 110, 71, 24, "Password:", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") password = guiCreateEdit(91, 108, 258, 26, "", false, window) guiEditSetMasked(password, true) reme = guiCreateCheckBox(79, 167, 126, 15, "Remember me", false , false, window) register = exports["dxgui_v1"]:dxCreateButton(69, 212, 87, 34, "Register", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") login = exports["dxgui_v1"]:dxCreateButton(226, 212, 87, 34, "Login", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") guest = exports["dxgui_v1"]:dxCreateButton(397, 34, 31, 33, "X", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") addEventHandler("onClientGUIClick", reme, saveInfo) addEventHandler("onClientDXClick", register, clientSubmitRegister) addEventHandler("onClientDXClick", login, clientSubmitLogin) addEventHandler("onClientDXClick", guest, clietnGuestClick) end function resourceStart() createLoginWindow() if (window ~= nil) then dxSetVisible(window, true) else exports["xp-annunce"]:sentClientMessage("An error has occupied!", localPlayer, 255, 0, 0, true) end showCursor(true) guiSetInputEnabled(true) end function clietnGuestClick(button, state) if button == "left" and state == "up" then dxSetVisible(window, false) showCursor(false) guiSetInputEnabled(false) setCameraTarget(localPlayer) showChat(true) showPlayerHudComponent("all", true) end end function clientSubmitRegister(button, state) if button == "left" and state =="up" then username = guiGetText(username) password = guiGetText(password) if username ~= "" and password ~= "" then triggerServerEvent("submitRegister", root, localPlayer, username, password) else exports["xp-annunce"]:sentClientMessage("Enter username and password!", localPlayer, 255, 0, 0, true) end end end function clientSubmitLogin(button, state) if button == "left" and state == "up" then username = guiGetText(username) password = guiGetText(password) if username ~= "" and password ~= "" then triggerServerEvent("submitLogin", root, localPlayer, username, password) else exports["xp-annunce"]:sentClientMessage("Enter username and password!", localPlayer, 255, 0, 0, true) end end end function saveInfo(button, state) if button == "left" and state == "up" then guiCheckBoxSetSelected(reme, true) username = guiGetText(username) password = guiGetText(password) if username ~= "" and password ~= "" then triggerServerEvent("submitInfo", root, localPlayer, username, password) else exports["xp-annunce"]:sentClientMessage("Enter username and password!", localPlayer, 255, 0, 0, true) end if guiCheckBoxGetSelected(reme) == true then user = getElementData(localPlayer, "username") pass = getElementData(localPlayer, "password") guiSetText(username, user) guiSetText(password, pass) else guiSetText(username, "") guiSetText(password, "") end elseif button =="left" and state == "up" then guiCheckBoxSetSelected(reme, false) end end function hideLoginWindow() dxSetVisible(window, false) showCursor(false) guiSetInputEnabled(false) showChat(true) showPlayerHudComponent("all", true) end addEvent("hideLoginWindow", true) addEventHandler("hideLoginWindow", root, hideLoginWindow) addEventHandler("onClientResourceStart", resourceRoot, resourceStart) http://imgur.com/4Z5Ccu4 Edited November 1, 2016 by Dimos7 Link to comment
Abdul KariM Posted November 1, 2016 Share Posted November 1, 2016 use this and don't edit code and show me a bugs setCameraMatrix(-2057.1525878906, 1029.9833984375, 63.992084503174, 0, 0, 0.10) showChat(false) showPlayerHudComponent("all", false) setTimer ( function ( ) window = exports["dxgui_v1"]:dxCreateWindow(733, 395, 466, 256, "Login Panel", tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") exports["dxgui_v1"]:dxWindowSetMovable(window, false) userl = exports["dxgui_v1"]:dxCreateLabel(15, 49, 71, 24, "Username:", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") username = guiCreateEdit(91, 47, 258, 26, "", false) passl = exports["dxgui_v1"]:dxCreateLabel(15, 110, 71, 24, "Password:", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") password = guiCreateEdit(91, 108, 258, 26, "", false) guiEditSetMasked(password, true) reme = guiCreateCheckBox(79, 167, 126, 15, "Remember me", false , false) register = exports["dxgui_v1"]:dxCreateButton(69, 212, 87, 34, "Register", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") login = exports["dxgui_v1"]:dxCreateButton(226, 212, 87, 34, "Login", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") guest = exports["dxgui_v1"]:dxCreateButton(397, 34, 31, 33, "X", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") addEventHandler("onClientGUIClick", reme, saveInfo) addEventHandler("onClientDXClick", register, clientSubmitRegister) addEventHandler("onClientDXClick", login, clientSubmitLogin) addEventHandler("onClientDXClick", guest, clietnGuestClick) end , 500 , 1 ) function resourceStart() createLoginWindow() if (window ~= nil) then exports["dxgui_v1"]:dxSetVisible(window, true) else exports["xp-annunce"]:sentClientMessage("An error has occupied!", localPlayer, 255, 0, 0, true) end showCursor(true) guiSetInputEnabled(true) end function clietnGuestClick(button, state) if button == "left" and state == "up" then exports["dxgui_v1"]:dxSetVisible(window, false) showCursor(false) guiSetInputEnabled(false) setCameraTarget(localPlayer) showChat(true) showPlayerHudComponent("all", true) end end function clientSubmitRegister(button, state) if button == "left" and state =="up" then username = guiGetText(username) password = guiGetText(password) if username ~= "" and password ~= "" then triggerServerEvent("submitRegister", root, localPlayer, username, password) else exports["xp-annunce"]:sentClientMessage("Enter username and password!", localPlayer, 255, 0, 0, true) end end end function clientSubmitLogin(button, state) if button == "left" and state == "up" then username = guiGetText(username) password = guiGetText(password) if username ~= "" and password ~= "" then triggerServerEvent("submitLogin", root, localPlayer, username, password) else exports["xp-annunce"]:sentClientMessage("Enter username and password!", localPlayer, 255, 0, 0, true) end end end function saveInfo(button, state) if button == "left" and state == "up" then guiCheckBoxSetSelected(reme, true) username = guiGetText(username) password = guiGetText(password) if username ~= "" and password ~= "" then triggerServerEvent("submitInfo", root, localPlayer, username, password) else exports["xp-annunce"]:sentClientMessage("Enter username and password!", localPlayer, 255, 0, 0, true) end if guiCheckBoxGetSelected(reme) == true then user = getElementData(localPlayer, "username") pass = getElementData(localPlayer, "password") guiSetText(username, user) guiSetText(password, pass) else guiSetText(username, "") guiSetText(password, "") end elseif button =="left" and state == "up" then guiCheckBoxSetSelected(reme, false) end end function hideLoginWindow() exports["dxgui_v1"]:dxSetVisible(window, false) showCursor(false) guiSetInputEnabled(false) showChat(true) showPlayerHudComponent("all", true) end addEvent("hideLoginWindow", true) addEventHandler("hideLoginWindow", root, hideLoginWindow) Link to comment
Dimos7 Posted November 1, 2016 Author Share Posted November 1, 2016 no error in this script but edit and check box are not in window also label not apear in window not know why Link to comment
Abdul KariM Posted November 1, 2016 Share Posted November 1, 2016 parent Must be from gui-element Link to comment
Dimos7 Posted November 1, 2016 Author Share Posted November 1, 2016 so i need make a guiwindow and set his alpha 0? Link to comment
Abdul KariM Posted November 1, 2016 Share Posted November 1, 2016 no no Use : exports["dxgui_v1"]:dxCreateEdit Link to comment
Dimos7 Posted November 1, 2016 Author Share Posted November 1, 2016 (edited) ok is there dxSetInputEnabled? Edited November 1, 2016 by Dimos7 Link to comment
Abdul KariM Posted November 1, 2016 Share Posted November 1, 2016 I don't know , Search about him in "dxgui_v1" or call owner this resource It will help you Link to comment
Dimos7 Posted November 1, 2016 Author Share Posted November 1, 2016 I have problem edit and label not apear at all and when i click auton close window --client setCameraMatrix(-2057.1525878906, 1029.9833984375, 63.992084503174, 0, 0, 42, 0, 180) showChat(false) showPlayerHudComponent("all", false) function createLoginWindow() window = exports["dxgui_v1"]:dxCreateWindow(733, 395, 466, 256, "Login Panel", tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") exports["dxgui_v1"]:dxWindowSetMovable(window, false) userl = exports["dxgui_v1"]:dxCreateLabel(15, 49, 71, 24, "Username:", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") username = exports["dxgui_v1"]:dxCreateEdit(91, 47, 258, 26, "", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") passl = exports["dxgui_v1"]:dxCreateLabel(15, 110, 71, 24, "Password:", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") password = exports["dxgui_v1"]:dxCreateEdit(91, 108, 258, 26, "", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") exports["dxgui_v1"]:dxEditSetMasked(password, true) reme = exports["dxgui_v1"]:dxCreateCheckBox(79, 167, 126, 15, "Remember me", window, false, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") register = exports["dxgui_v1"]:dxCreateButton(69, 212, 87, 34, "Register", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") login = exports["dxgui_v1"]:dxCreateButton(226, 212, 87, 34, "Login", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") guest = exports["dxgui_v1"]:dxCreateButton(397, 34, 31, 33, "X", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") addEventHandler("onClientDXClick", reme, saveInfo) addEventHandler("onClientDXClick", register, clientSubmitRegister) addEventHandler("onClientDXClick", login, clientSubmitLogin) addEventHandler("onClientDXClick", guest, clietnGuestClick) end function resourceStart() createLoginWindow() if (window ~= nil) then exports["dxgui_v1"]:dxSetVisible(window, true) else exports["xp-annunce"]:sentClientMessage("An error has occupied!", localPlayer, 255, 0, 0, true) end showCursor(true) end function clietnGuestClick(button, state) if button == "left" and state == "up" then exports["dxgui_v1"]:dxSetVisible(window, false) showCursor(false) setCameraTarget(localPlayer) showChat(true) showPlayerHudComponent("all", true) end end function clientSubmitRegister(button, state) if button == "left" and state =="up" then username = exports["dxgui_v1"]:dxGetText(username) password = exports["dxgui_v1"]:dxGetText(password) if username ~= "" and password ~= "" then triggerServerEvent("submitRegister", root, localPlayer, username, password) else exports["xp-annunce"]:sentClientMessage("Enter username and password!", localPlayer, 255, 0, 0, true) end end end function clientSubmitLogin(button, state) if button == "left" and state == "up" then username = exports["dxgui_v1"]:dxGetText(username) password = exports["dxgui_v1"]:dxGetText(password) if username ~= "" and password ~= "" then triggerServerEvent("submitLogin", root, localPlayer, username, password) else exports["xp-annunce"]:sentClientMessage("Enter username and password!", localPlayer, 255, 0, 0, true) end end end function saveInfo(button, state) if button == "left" and state == "up" then exports["dxgui_v1"]:dxCheckBoxSetSelected(reme, true) username = exports["dxgui_v1"]:dxGetText(username) password = exports["dxgui_v1"]:dxGetText(password) if username ~= "" and password ~= "" then triggerServerEvent("submitInfo", root, localPlayer, username, password) else exports["xp-annunce"]:sentClientMessage("Enter username and password!", localPlayer, 255, 0, 0, true) end if exports["dxgui_v1"]:dxCheckBoxGetSelected(reme) == true then user = getElementData(localPlayer, "username") pass = getElementData(localPlayer, "password") exports["dxgui_v1"]:dxSetText(username, user) exports["dxgui_v1"]:dxSetText(password, pass) else exports["dxgui_v1"]:dxSetText(username, "") exports["dxgui_v1"]:dxSetText(password, "") end elseif button =="left" and state == "up" then exports["dxgui_v1"]:dxCheckBoxSetSelected(reme, false) end end function hideLoginWindow() exports["dxgui_v1"]:dxSetVisible(window, false) showCursor(false) showChat(true) showPlayerHudComponent("all", true) end addEvent("hideLoginWindow", true) addEventHandler("hideLoginWindow", root, hideLoginWindow) addEventHandler("onClientResourceStart", resourceRoot, resourceStart) Link to comment
Dimos7 Posted November 2, 2016 Author Share Posted November 2, 2016 setCameraMatrix(-2065.0327148438, 1021.1545410156, 66.882278442383, -2117.1064453125, 1106.4571533203, 70.316734313965) showChat(false) showPlayerHudComponent("all", false) function createLoginWindow() window = exports["dxgui_v1"]:dxCreateWindow(733, 395, 466, 256, "Login Panel", tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") exports["dxgui_v1"]:dxWindowSetMovable(window, false) userl = exports["dxgui_v1"]:dxCreateLabel(15, 49, 71, 24, "Username:", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") username = exports["dxgui_v1"]:dxCreateEdit(91, 47, 258, 26, "", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") passl = exports["dxgui_v1"]:dxCreateLabel(15, 110, 71, 24, "Password:", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") password = exports["dxgui_v1"]:dxCreateEdit(91, 108, 258, 26, "", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") exports["dxgui_v1"]:dxEditSetMasked(password, true) reme = exports["dxgui_v1"]:dxCreateCheckBox(79, 167, 126, 15, "Remember me", window, false, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") register = exports["dxgui_v1"]:dxCreateButton(69, 212, 87, 34, "Register", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") login = exports["dxgui_v1"]:dxCreateButton(226, 212, 87, 34, "Login", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") guest = exports["dxgui_v1"]:dxCreateButton(397, 34, 31, 33, "X", window, tocolor(60, 199, 234, 255), "default-blod", "Lighter Blue") addEventHandler("onClientDXClick", reme, saveInfo) addEventHandler("onClientDXClick", register, clientSubmitRegister) addEventHandler("onClientDXClick", login, clientSubmitLogin) addEventHandler("onClientDXClick", guest, clietnGuestClick) end function resourceStart() createLoginWindow() if (window ~= nil) then exports["dxgui_v1"]:dxSetVisible(window, true) else exports["xp-annunce"]:sentClientMessage("An error has occupied!", localPlayer, 255, 0, 0, true) end showCursor(true) end function clietnGuestClick(button, state) if button == "left" and state == "up" then exports["dxgui_v1"]:dxSetVisible(window, false) showCursor(false) setCameraTarget(localPlayer) showChat(true) showPlayerHudComponent("all", true) end end function clientSubmitRegister(button, state) if button == "left" and state =="up" then username = exports["dxgui_v1"]:dxGetText(username) password = exports["dxgui_v1"]:dxGetText(password) if username ~= "" and password ~= "" then triggerServerEvent("submitRegister", root, localPlayer, username, password) else exports["xp-annunce"]:sentClientMessage("Enter username and password!", localPlayer, 255, 0, 0, true) end end end function clientSubmitLogin(button, state) if button == "left" and state == "up" then username = exports["dxgui_v1"]:dxGetText(username) password = exports["dxgui_v1"]:dxGetText(password) if username ~= "" and password ~= "" then triggerServerEvent("submitLogin", root, localPlayer, username, password) else exports["xp-annunce"]:sentClientMessage("Enter username and password!", localPlayer, 255, 0, 0, true) end end end function saveInfo(button, state) if button == "left" and state == "up" then exports["dxgui_v1"]:dxCheckBoxSetSelected(reme, true) username = exports["dxgui_v1"]:dxGetText(username) password = exports["dxgui_v1"]:dxGetText(password) if username ~= "" and password ~= "" then triggerServerEvent("submitInfo", root, localPlayer, username, password) else exports["xp-annunce"]:sentClientMessage("Enter username and password!", localPlayer, 255, 0, 0, true) end if exports["dxgui_v1"]:dxCheckBoxGetSelected(reme) == true then user = getElementData(localPlayer, "username") pass = getElementData(localPlayer, "password") exports["dxgui_v1"]:dxSetText(username, user) exports["dxgui_v1"]:dxSetText(password, pass) else exports["dxgui_v1"]:dxSetText(username, "") exports["dxgui_v1"]:dxSetText(password, "") end elseif button =="left" and state == "up" then exports["dxgui_v1"]:dxCheckBoxSetSelected(reme, false) end end function hideLoginWindow() exports["dxgui_v1"]:dxSetVisible(window, false) showCursor(false) showChat(true) showPlayerHudComponent("all", true) end addEvent("hideLoginWindow", true) addEventHandler("hideLoginWindow", root, hideLoginWindow) addEventHandler("onClientResourceStart", resourceRoot, resourceStart) Label its not created why ? http://imgur.com/6OeXCuT 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