# STATS::CHAL_ACHIEVEMENT_GET_PROGRESS_INT

- **Hash:** `0x808712E428F697B8`
- **Namespace:** STATS
- **Runtime name (Lua/JS):** `ChalAchievementGetProgressInt`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1232
- **URL:** https://natives.borderlinerp.com/natives/STATS/CHAL_ACHIEVEMENT_GET_PROGRESS_INT

## Signature

```c
int CHAL_ACHIEVEMENT_GET_PROGRESS_INT(Hash p0, Hash p1);
```

## Parameters

- `p0` (`Hash`)
- `p1` (`Hash`)

## Returns

`int`

## Usage

### Lua

```lua
local retval = ChalAchievementGetProgressInt(p0, p1)

-- always available, by hash
local retval = Citizen.InvokeNative(0x808712E428F697B8, p0, p1, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = ChalAchievementGetProgressInt(p0, p1);

// by hash
const retval = Citizen.invokeNative('0x808712E428F697B8', p0, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x808712E428F697B8, p0, p1);
```

- Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat("name")` or a backtick literal like `` `name` ``.

*Sources: alloc8or RDR3 NativeDB.*
