Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Funktionen
- function registeraccount()
- local pw1 = guiGetText ( eGUIEditor_Edit[2] )
- local pw2 = guiGetText ( eGUIEditor_Edit[3] )
- outputChatBox("test", 255, 0, 0)
- if pw1 == pw2 then
- outputChatBox("test2", 255, 0, 0)
- local accname = guiGetText ( eGUIEditor_Edit[1] )
- local accpw = guiGetText ( GUIEditor_Edit[2] )
- triggerServerEvent ( "onMyPlayerRegister", getLocalPlayer(), accname, accpw )
- else
- outputChatBox("Die Passwörter stimmen nicht überein!", 255, 0, 0)
- end
- end
- addEventHandler ( "onClientGUIClick", regbutton, registeraccount )
Add Comment
Please, Sign In to add comment