28.12.2015, 14:41
Hashed passwords are in numbers / integers. They are not strings. You use strcmp to compare 2 strings. Something like this would fix it:
Replace the if(PlayerInfo[playerid][pPassword] with what variable you use to store the password.
EDIT: Or you can use
if you don't use a variable to store the player password.
Код:
if(PlayerInfo[playerid][pPassword] == num_hash(params))
EDIT: Or you can use
Код:
if(dini_Int(GMPassFile(), "Password") == num_hash(params))