VERIFY_PASSWORD_HASH
Signature
BOOL VERIFY_PASSWORD_HASH(char* password, char* hash);Parameters
| Name | Type | Description |
|---|---|---|
password | char* | — |
hash | char* | — |
Returns BOOL
Usage
local retval = VerifyPasswordHash(password, hash)
-- always works, by hash
local retval = Citizen.InvokeNative(0x2e310acd, password, hash, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = VerifyPasswordHash(password, hash);
// by hash
const retval = Citizen.invokeNative('0x2e310acd', password, hash, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x2e310acd, password, hash);See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.