# TASK::_SET_SCENARIO_POINT_FLAG

- **Hash:** `0x5AF19B6CC2115D34`
- **Namespace:** TASK
- **Runtime name (Lua/JS):** `SetScenarioPointFlag`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/TASK/_SET_SCENARIO_POINT_FLAG

## Signature

```c
void _SET_SCENARIO_POINT_FLAG(int scenario, int flag, BOOL value);
```

## Parameters

- `scenario` (`int`)
- `flag` (`int`)
- `value` (`BOOL`)

## Returns

`void`

## Description

flag: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/CScenarioPointFlags__Flags

## Usage

### Lua

```lua
SetScenarioPointFlag(scenario, flag, value)

-- always available, by hash
Citizen.InvokeNative(0x5AF19B6CC2115D34, scenario, flag, value)
```

### JavaScript

```js
SetScenarioPointFlag(scenario, flag, value);

// by hash
Citizen.invokeNative('0x5AF19B6CC2115D34', scenario, flag, value);
```

### C#

```csharp
Function.Call((Hash)0x5AF19B6CC2115D34, scenario, flag, value);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

## Related enums

- [CScenarioPointFlags__Flags](https://natives.borderlinerp.com/enums/CScenarioPointFlags__Flags.md) — 64 values

*Sources: alloc8or RDR3 NativeDB.*
