# MISC::_SET_GLOBAL_BLOCK_IS_LOADED

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

## Signature

```c
void _SET_GLOBAL_BLOCK_IS_LOADED(int index, BOOL toggle);
```

## Parameters

- `index` (`int`)
- `toggle` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
SetGlobalBlockIsLoaded(index, toggle)

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

### JavaScript

```js
SetGlobalBlockIsLoaded(index, toggle);

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

### C#

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

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