# MISC::SET_THIS_SCRIPT_CAN_BE_PAUSED

- **Hash:** `0x3215376E79F6EA18`
- **Namespace:** MISC
- **Runtime name (Lua/JS):** `SetThisScriptCanBePaused`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/MISC/SET_THIS_SCRIPT_CAN_BE_PAUSED

## Signature

```c
void SET_THIS_SCRIPT_CAN_BE_PAUSED(BOOL toggle);
```

## Parameters

- `toggle` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
SetThisScriptCanBePaused(toggle)

-- always available, by hash
Citizen.InvokeNative(0x3215376E79F6EA18, toggle)
```

### JavaScript

```js
SetThisScriptCanBePaused(toggle);

// by hash
Citizen.invokeNative('0x3215376E79F6EA18', toggle);
```

### C#

```csharp
Function.Call((Hash)0x3215376E79F6EA18, toggle);
```

*Sources: alloc8or RDR3 NativeDB.*
