28.02.2014, 20:35
Not only. It returns either 1 or -1, it depends on which string is bigger.
Although what CuervO said is the solution. Your code basically shows the login dialog if the passwords are the same so you need to change:
to:
ignorecase doesn't matter because Whirlpool always uses upper case.
Although what CuervO said is the solution. Your code basically shows the login dialog if the passwords are the same so you need to change:
pawn Код:
if(strcmp(hashpass,JoueurInfo[playerid][jMDP],true))
pawn Код:
if(!strcmp(hashpass,JoueurInfo[playerid][jMDP]))