CHAL_ACHIEVEMENT_GET_PROGRESS_INT
Hash
0x808712E428F697B8Runtime name
ChalAchievementGetProgressIntNamespaceSTATS
SideClient
NameOfficial
Docs
Since build1232
Signature
int CHAL_ACHIEVEMENT_GET_PROGRESS_INT(Hash p0, Hash p1);Parameters
| Name | Type | Description |
|---|---|---|
p0 | Hash | — |
p1 | Hash | — |
Returns int
Usage
local retval = ChalAchievementGetProgressInt(p0, p1)
-- always works, by hash
local retval = Citizen.InvokeNative(0x808712E428F697B8, p0, p1, Citizen.ResultAsInteger())JavaScript and C#
const retval = ChalAchievementGetProgressInt(p0, p1);
// by hash
const retval = Citizen.invokeNative('0x808712E428F697B8', p0, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x808712E428F697B8, p0, p1);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.