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
#2

OOOHHH lol i'm stupid...
Thx Seif...
Reply
#3

and btw are you encypting passґs??

i had one problem the passґs dont save and the problem was just because it needed to be encrypted... idk why... lol
Reply
#4

i think i know why where did u get ur login system from
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)