Bitte um hilfe ![]()
Code
#IfWinActive GTA:SA:MP
#Include %A_ScriptDir%\API\SAMP.ahk
#Include %A_ScriptDir%\API\improv3d.ahk
Gui, Add, Picture, x-8 y-1 w630 h340 , C:\Users\Marcel\Desktop\Keybinder\Grove Street\Images\Background.jpg
Gui, Add, Button, x212 y259 w210 h30 +Center gLogin, Login
Gui, Add, Edit, x212 y159 w210 h30 +Center vBenutzername, Benutzername
Gui, Add, Edit, x212 y79 w210 h30 +Center +Password vPasswort, Passwort
Gui, Add, Button, x212 y299 w210 h20 +Center +BackgroundTrans, Passwort vergessen
Gui, Add, CheckBox, x212 y219 w210 h30 +Center +BackgroundTrans, Passwort Speichern?
Gui, Show, w624 h340, Login ~ ***** | ****
return
Login:
Gui, Submit, nohide
If(Benutzername != "" and Passwort != "")
{
done : imp_read("accounts", Benutzername, "Name")
If(done == Benutzername)
{
PW := imp_read("accounts", Benutzername, "Passwort")
If(PW == Passwort)
{
MsgBox, %Passwort% Richtig!
} else {
MsgBox, %Passwort% Falsch!
}
}
else {
MsgBox, %done% wurde auf der Whitelist nicht gefunden!
Reload
}
} else {
MsgBox, Der Nutzername ist leer!
Reload
}
return
GuiClose:
ExitApp
Alles anzeigen

