# SCRIPT::BG_END_CONTEXT_HASH

- **Hash:** `0x6D1431744182CDE8`
- **Namespace:** SCRIPT
- **Runtime name (Lua/JS):** `BgEndContextHash`
- **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_END_CONTEXT_HASH

## Signature

```c
void BG_END_CONTEXT_HASH(Hash contextHash);
```

## Parameters

- `contextHash` (`Hash`)

## Returns

`void`

## Description

Hashed version of BG_END_CONTEXT

## Usage

### Lua

```lua
BgEndContextHash(contextHash)

-- always available, by hash
Citizen.InvokeNative(0x6D1431744182CDE8, contextHash)
```

### JavaScript

```js
BgEndContextHash(contextHash);

// by hash
Citizen.invokeNative('0x6D1431744182CDE8', contextHash);
```

### C#

```csharp
Function.Call((Hash)0x6D1431744182CDE8, contextHash);
```

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

*Sources: alloc8or RDR3 NativeDB.*
