# VEHICLE::DELETE_MISSION_TRAIN

- **Hash:** `0x0D3630FB07E8B570`
- **Namespace:** VEHICLE
- **Runtime name (Lua/JS):** `DeleteMissionTrain`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/VEHICLE/DELETE_MISSION_TRAIN

## Signature

```c
void DELETE_MISSION_TRAIN(Vehicle* train);
```

## Parameters

- `train` (`Vehicle*`)

## Returns

`void`

## Usage

### Lua

```lua
local train = DeleteMissionTrain(train)

-- always available, by hash
local train = Citizen.InvokeNative(0x0D3630FB07E8B570, Citizen.PointerValueIntInitialized(train))
```

### JavaScript

```js
const train = DeleteMissionTrain(train);

// by hash
const train = Citizen.invokeNative('0x0D3630FB07E8B570', Citizen.pointerValueIntInitialized(train));
```

### C#

```csharp
var train = new OutputArgument();
Function.Call((Hash)0x0D3630FB07E8B570, train);
// train.GetResult<int>()
```

- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.

## See also

- [VEHICLE::_CREATE_MISSION_TRAIN](https://natives.borderlinerp.com/natives/VEHICLE/_CREATE_MISSION_TRAIN.md) — For more information, see trainconfigs.ymt To make the train AI controlled, set conductor to true and set the speed once.

*Sources: alloc8or RDR3 NativeDB.*
