# STATS::CHAL_SET_GOAL_DISABLED

- **Hash:** `0xF63DF9EE16393343`
- **Namespace:** STATS
- **Runtime name (Lua/JS):** `ChalSetGoalDisabled`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1436
- **Note:** not used by the game's own scripts
- **URL:** https://natives.borderlinerp.com/natives/STATS/CHAL_SET_GOAL_DISABLED

## Signature

```c
void CHAL_SET_GOAL_DISABLED(Hash chalHash, Hash goalHash, BOOL disabled);
```

## Parameters

- `chalHash` (`Hash`)
- `goalHash` (`Hash`)
- `disabled` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
ChalSetGoalDisabled(chalHash, goalHash, disabled)

-- always available, by hash
Citizen.InvokeNative(0xF63DF9EE16393343, chalHash, goalHash, disabled)
```

### JavaScript

```js
ChalSetGoalDisabled(chalHash, goalHash, disabled);

// by hash
Citizen.invokeNative('0xF63DF9EE16393343', chalHash, goalHash, disabled);
```

### C#

```csharp
Function.Call((Hash)0xF63DF9EE16393343, chalHash, goalHash, disabled);
```

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