# TASK::_IS_SCENARIO_IN_USE

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

## Signature

```c
BOOL _IS_SCENARIO_IN_USE(int scenario);
```

## Parameters

- `scenario` (`int`)

## Returns

`BOOL`

## Description

Checks whether a specified scenario is currently being used (actively played) by any entity (player or ped).
Returns true if the scenario is already occupied, otherwise false.

## Usage

### Lua

```lua
local retval = IsScenarioInUse(scenario)

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

### JavaScript

```js
const retval = IsScenarioInUse(scenario);

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

### C#

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

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

*Sources: alloc8or RDR3 NativeDB.*
