Help with Login System...
#1

Okay I have a BIG Problem with my Roleplay Server.
When someone goes to Login on ANY account they can use ANY password such as just "k".
But, When i look at the Login portion of the Script it looks fine to me...I'm a Moderate Pawno Scripter and might've overlooked something so yea...Heres the Portion.


Код:
	else
		{
			new loginstring[128];
			new loginname[64];
			GetPlayerName(playerid,loginname,sizeof(loginname));
			format(loginstring,sizeof(loginstring),"ERROR: Incorrect passowrd!\n \nPlease enter the correct password:",loginname);
			ShowPlayerDialog(playerid,12347,DIALOG_STYLE_INPUT,"Login",loginstring,"Login","Exit");
	    fclose(UserFile);
	    gPlayerLogTries[playerid] += 1;
	    if(gPlayerLogTries[playerid] == 4) { Kick(playerid); }
	    return 1;
		}
Reply


Messages In This Thread
Help with Login System... - by T Ray - 03.03.2010, 21:38
Re: Help with Login System... - by T Ray - 03.03.2010, 21:57
Re: Help with Login System... - by SlashPT - 03.03.2010, 22:20
Re: Help with Login System... - by Keeboo13 - 03.03.2010, 23:41

Forum Jump:


Users browsing this thread: 2 Guest(s)