23.07.2011, 02:28
Quote:
pawn Код:
|
Quote:
[22:34:07] Entered Password: sd Actual Password: lolol1 |
Here's the code:
pawn Код:
case LOGIN_DIALOG:
{
if(response)
{
if(strlen(inputtext) <= 32)
{
if(!strcmp(SInfo[playerid][Password], inputtext, true))
return OnPlayerLogin(playerid, inputtext);
else return ShowPlayerDialog(playerid, LOGIN_DIALOG, DIALOG_STYLE_INPUT, "Welcome back!", "You appear to have an account on this server!\nPlease login by typing in your password below:", "Submit", "Quit");
}
else
{
ShowPlayerDialog(playerid, LOGIN_DIALOG, DIALOG_STYLE_INPUT, "Welcome back!", "You appear to have an account on this server!\nPlease login by typing in your password below:", "Submit", "Quit");
}
}
else return Kick(playerid);
}