# TASK::_RESET_SCENARIO_SCRIPT

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

## Signature

```c
void _RESET_SCENARIO_SCRIPT(int scenario);
```

## Parameters

- `scenario` (`int`)

## Returns

`void`

## Usage

### Lua

```lua
ResetScenarioScript(scenario)

-- always available, by hash
Citizen.InvokeNative(0x5A40040BB5AE3EA2, scenario)
```

### JavaScript

```js
ResetScenarioScript(scenario);

// by hash
Citizen.invokeNative('0x5A40040BB5AE3EA2', scenario);
```

### C#

```csharp
Function.Call((Hash)0x5A40040BB5AE3EA2, 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.*
