Help with the login system
#1

I use a login system with dialog.If i put a wrong password i get the message "wrong password".if i put the correct password i can login but if i leave it blank i can still login.please help me(BTW im using gf)
Reply
#2

Just check if the input box is empty:

Код:
	if(!strlen(inputtext))
	{
		new loginmsg[] = "SERVER: INVALID PASSWORD!\n\tEnter Your Password";
		ShowPlayerDialog(playerid, loginbox, 1, "Welcome to [insert name here]", loginmsg, "Login", "Quit");
		return 1;
	}
Reply
#3

im havin the exact same problem as this, hope your solution works!
Reply
#4

I fixed it ty
Reply
#5

Quote:
Originally Posted by pierhs
I fixed it ty
same, thanks big comfy couch
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)