08.07.2014, 14:23
pawn Код:
case DIALOG_LOGIN:
{
if(!response)
{
KillTimer(login_timer[playerid]);
return Kick(playerid);
}
if(udb_hash(inputtext) == PlayerInfo[playerid][pPass]) KillTimer(login_timer[playerid]);
else ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,"Account Login","You have entered an invalid password.\nType your password below to login.","Login","Quit");
return 1;
}