# SCRIPT::BG_SET_EXITFLAG_RESPONSE

- **Hash:** `0x4858148E3B8A75D0`
- **Namespace:** SCRIPT
- **Runtime name (Lua/JS):** `BgSetExitflagResponse`
- **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_SET_EXITFLAG_RESPONSE

## Signature

```c
void BG_SET_EXITFLAG_RESPONSE();
```

## Returns

`void`

## Description

Sets bit 0 in GtaThread+0x784

## Usage

### Lua

```lua
BgSetExitflagResponse()

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

### JavaScript

```js
BgSetExitflagResponse();

// by hash
Citizen.invokeNative('0x4858148E3B8A75D0');
```

### C#

```csharp
Function.Call((Hash)0x4858148E3B8A75D0);
```

*Sources: alloc8or RDR3 NativeDB.*
