07.10.2011, 17:32
pawn Code:
if(dialogid == 2)
{
if ( !response ) return Kick ( playerid );
if( response )
{
if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
Logged[playerid] = 1;
}
else
{
/* This One */ ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"",""Red"You Have Entered An Incorrect Password Please re-enter Your Password","Ok","Quit");
}
return 1;
}
}
return 1;
}