03.03.2010, 21:38
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.
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;
}

