11.07.2015, 23:09
Ah sorry update it to this one:
pawn Код:
if (response)
{
if( !strcmp( udb_hash(inputtext) , PlayerInfo[playerid][pPass] ) && strlen(inputtext) > 0 )
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
SendClientMessage(playerid, -1, "You Have Been Succesfully Logged In.");
}
else
{
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,"Login","You have entered an incorrect password.\nType your password below to login.","Login","Quit");
}
return 1;
}