# TASK::_IS_SCENARIO_POINT_FLAG_SET

- **Hash:** `0x8569C38D2FB80650`
- **Namespace:** TASK
- **Runtime name (Lua/JS):** `IsScenarioPointFlagSet`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/TASK/_IS_SCENARIO_POINT_FLAG_SET

## Signature

```c
BOOL _IS_SCENARIO_POINT_FLAG_SET(int scenario, int flag);
```

## Parameters

- `scenario` (`int`)
- `flag` (`int`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = IsScenarioPointFlagSet(scenario, flag)

-- always available, by hash
local retval = Citizen.InvokeNative(0x8569C38D2FB80650, scenario, flag, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = IsScenarioPointFlagSet(scenario, flag);

// by hash
const retval = Citizen.invokeNative('0x8569C38D2FB80650', scenario, flag, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x8569C38D2FB80650, scenario, flag);
```

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