# VEHICLE::_GET_TRAIN_DIRECTION

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

## Signature

```c
BOOL _GET_TRAIN_DIRECTION(Vehicle train);
```

## Parameters

- `train` (`Vehicle`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = GetTrainDirection(train)

-- always available, by hash
local retval = Citizen.InvokeNative(0x3C9628A811CBD724, train, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = GetTrainDirection(train);

// by hash
const retval = Citizen.invokeNative('0x3C9628A811CBD724', train, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x3C9628A811CBD724, train);
```

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