# SCRIPT::BG_START_CONTEXT

- **Hash:** `0x49BA5678BA040CA7`
- **Namespace:** SCRIPT
- **Runtime name (Lua/JS):** `BgStartContext`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **Note:** not used by the game's own scripts
- **URL:** https://natives.borderlinerp.com/natives/SCRIPT/BG_START_CONTEXT

## Signature

```c
void BG_START_CONTEXT(const char* contextName);
```

## Parameters

- `contextName` (`const char*`)

## Returns

`void`

## Description

Inserts the given context into the background scripts context map.

## Usage

### Lua

```lua
BgStartContext(contextName)

-- always available, by hash
Citizen.InvokeNative(0x49BA5678BA040CA7, contextName)
```

### JavaScript

```js
BgStartContext(contextName);

// by hash
Citizen.invokeNative('0x49BA5678BA040CA7', contextName);
```

### C#

```csharp
Function.Call((Hash)0x49BA5678BA040CA7, contextName);
```

*Sources: alloc8or RDR3 NativeDB.*
