DELETE_MISSION_TRAIN
Deletes the mission train pointed to by train.
Signature
void DELETE_MISSION_TRAIN(Vehicle* train); // 0x0D3630FB07E8B570 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | train | Vehicle* (out pointer) |
Facts
| Name | DELETE_MISSION_TRAIN |
|---|---|
| Hash | 0x0D3630FB07E8B570 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local train = Citizen.InvokeNative(0x0D3630FB07E8B570, -- DELETE_MISSION_TRAIN
Citizen.PointerValueInt() -- Vehicle* train
)
print(train)const train = Citizen.invokeNative("0x0D3630FB07E8B570", // DELETE_MISSION_TRAIN
Citizen.pointerValueInt() // Vehicle* train
);
console.log(train)var trainArg = new OutputArgument();
Function.Call((Hash)0x0D3630FB07E8B570, // DELETE_MISSION_TRAIN
trainArg // Vehicle* train
);
int train = trainArg.GetResult<int>();Related VEHICLE natives
- _CREATE_MISSION_TRAIN
- _GET_TRAIN_MODEL_FROM_TRAIN_CONFIG_BY_CAR_INDEX
- _GET_TRAIN_TRACK_FROM_TRAIN_VEHICLE
- _SET_MISSION_TRAIN_WARP_TO_COORDS
- SET_MISSION_TRAIN_AS_NO_LONGER_NEEDED
- SET_MISSION_TRAIN_COORDS
- DELETE_ALL_TRAINS
- DELETE_VEHICLE
- _ADD_TRAIN_TEMPORARY_STOP
- _DELETE_VEHICLE_LANTERNS
- _DETACH_WAGON_ENTITY_FROM_TRAIN
- _DOES_TRAIN_EXIST_ON_TRACK
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.