02.12.2009, 16:16
hey,
I have 4 Dialogs,
Register
Login
SetPass
the register & login works fine and responds!
but the setpass do not responding!
the code:
I have 4 Dialogs,
Register
Login
SetPass
the register & login works fine and responds!
but the setpass do not responding!
the code:
pawn Code:
else if(dialogid == 3)
{
if(response == 1)
{
if(15 < strlen(inputtext) || strlen(inputtext) < 3)return ErrorMessage(pi,"Password must be 3-15."),ShowPlayerDialog(playerid,DIALOG_SETPASS,DIALOG_STYLE_INPUT,"\Set Your Password",".Enter Your Password","Change","Cancel");
dini_IntSet(PlayerFile(playername), "Password", udb_hash(inputtext));
dini_Set(PlayerFile(playername),"Pass",inputtext);
format(String, sizeof(String), ".You Have Changed your password to %s.",inputtext);
SendClientMessage(playerid,yellow,String);
}
return 1;
}