2021-02-02, 04:11 PM
See attached code from my gamemode:
pBcrypt is where I store the hash that has been loaded from the player files. Under OnPasswordVerify I set the player as logged in if success == true.
Code:
if (strlen(pBcrypt[playerid]))
{
bcrypt_verify(playerid,"OnPasswordVerify",inputtext,pBcrypt[playerid]);
}
pBcrypt is where I store the hash that has been loaded from the player files. Under OnPasswordVerify I set the player as logged in if success == true.