# AITRANSPORT::GET_TRANSPORT_CONFIG_FLAG

- **Hash:** `0xF382C92CCC1CCDBC`
- **Namespace:** AITRANSPORT
- **Runtime name (Lua/JS):** `GetTransportConfigFlag`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/AITRANSPORT/GET_TRANSPORT_CONFIG_FLAG

## Signature

```c
BOOL GET_TRANSPORT_CONFIG_FLAG(Entity transportEntity, int flagId, BOOL p2);
```

## Parameters

- `transportEntity` (`Entity`)
- `flagId` (`int`)
- `p2` (`BOOL`)

## Returns

`BOOL`

## Description

flagId: see SET_TRANSPORT_CONFIG_FLAG

## Usage

### Lua

```lua
local retval = GetTransportConfigFlag(transportEntity, flagId, p2)

-- always available, by hash
local retval = Citizen.InvokeNative(0xF382C92CCC1CCDBC, transportEntity, flagId, p2, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = GetTransportConfigFlag(transportEntity, flagId, p2);

// by hash
const retval = Citizen.invokeNative('0xF382C92CCC1CCDBC', transportEntity, flagId, p2, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0xF382C92CCC1CCDBC, transportEntity, flagId, p2);
```

## See also

- [AITRANSPORT::SET_TRANSPORT_CONFIG_FLAG](https://natives.borderlinerp.com/natives/AITRANSPORT/SET_TRANSPORT_CONFIG_FLAG.md) — TCF_NotConsideredForEntryByLocalPlayer, TCF_0xB78D6624, TCF_0xA9700425, TCF_0x8D7E4641, TCF_0xF24BAA1F, TCF_0x63B77935, TCF_NotConsideredForEntryByAllPlayers, TCF_0xD17A2AFD, TCF_0xD4E4FDD5, TCF_0x8227C929, TCF_0x812C1070, TCF_0x0E1AB26F…

*Sources: alloc8or RDR3 NativeDB.*
