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