Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function logButtonClicked(button,state)
- if button == "left" and state == "up" then
- local username = guiGetText(edtUser2)
- local password = guiGetText(edtPass2)
- if username and password then
- triggerServerEvent("submitLogin", getRootElement(),thePlayer, username, password)
- guiSetInputEnabled(false)
- guiSetVisible(wdwLogin, false)
- showCursor(false)
- else
- outputChatBox("Bitte trage einen Usernamen und ein Passwort ein.")
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement