# VEHICLE::_SET_TRAIN_STOPS_FOR_STATIONS

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

## Signature

```c
void _SET_TRAIN_STOPS_FOR_STATIONS(Vehicle train, BOOL toggle);
```

## Parameters

- `train` (`Vehicle`)
- `toggle` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
SetTrainStopsForStations(train, toggle)

-- always available, by hash
Citizen.InvokeNative(0x4182C037AA1F0091, train, toggle)
```

### JavaScript

```js
SetTrainStopsForStations(train, toggle);

// by hash
Citizen.invokeNative('0x4182C037AA1F0091', train, toggle);
```

### C#

```csharp
Function.Call((Hash)0x4182C037AA1F0091, train, toggle);
```

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