# STATS::CHAL_MISSION_IS_GOAL_COMPLETE

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

## Signature

```c
BOOL CHAL_MISSION_IS_GOAL_COMPLETE(Hash missionHash, Hash goalHash);
```

## Parameters

- `missionHash` (`Hash`)
- `goalHash` (`Hash`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = ChalMissionIsGoalComplete(missionHash, goalHash)

-- always available, by hash
local retval = Citizen.InvokeNative(0xC0BB774787BBF301, missionHash, goalHash, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = ChalMissionIsGoalComplete(missionHash, goalHash);

// by hash
const retval = Citizen.invokeNative('0xC0BB774787BBF301', missionHash, goalHash, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0xC0BB774787BBF301, missionHash, goalHash);
```

- 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.*
