07.10.2015, 19:10
you should do it like this:
PHP код:
if(!strlen(inputtext)) return ShowPlayerDialog(playerid,27,DIALOG_STYLE_PASSWORD,"Password Selection (3/7)","The password length minimum is 6 alpha-numeric characters.\nEnter a password to register:","Register","Quit");
new string1[128], string2[128];
format(string1, sizeof(string1), "%s",udb_hash(inputtext))
format(string2, sizeof(string2), "%s",udb_hash(PlayerInfo[playerid][pPass])
if(!strcmp(string1, string2)) return ShowPlayerDialog(playerid,1,DIALOG_STYLE_PASSWORD,"Password Selection (3/7)","Invalid Password, confirm your password:","Register","Quit");