# STREAMING::_HAS_SCENARIO_TYPE_LOADED

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

## Signature

```c
BOOL _HAS_SCENARIO_TYPE_LOADED(Hash scenarioType, BOOL p1);
```

## Parameters

- `scenarioType` (`Hash`)
- `p1` (`BOOL`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = HasScenarioTypeLoaded(scenarioType, p1)

-- always available, by hash
local retval = Citizen.InvokeNative(0x9427C94D2E4094A4, scenarioType, p1, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = HasScenarioTypeLoaded(scenarioType, p1);

// by hash
const retval = Citizen.invokeNative('0x9427C94D2E4094A4', scenarioType, p1, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x9427C94D2E4094A4, scenarioType, p1);
```

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