The Lab
VEHICLE native

DELETE_MISSION_TRAIN

returns void1 parambuild 1207

Deletes the mission train pointed to by train.

Signature

C
void DELETE_MISSION_TRAIN(Vehicle* train); // 0x0D3630FB07E8B570 b1207

Parameters

#NameType
1trainVehicle* (out pointer)

Facts

Facts about DELETE_MISSION_TRAIN
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.

Lua
local train = Citizen.InvokeNative(0x0D3630FB07E8B570, -- DELETE_MISSION_TRAIN
  Citizen.PointerValueInt() -- Vehicle* train
)
print(train)
JavaScript
const train = Citizen.invokeNative("0x0D3630FB07E8B570", // DELETE_MISSION_TRAIN
  Citizen.pointerValueInt() // Vehicle* train
);
console.log(train)
C#
var trainArg = new OutputArgument();
Function.Call((Hash)0x0D3630FB07E8B570, // DELETE_MISSION_TRAIN
  trainArg // Vehicle* train
);
int train = trainArg.GetResult<int>();
All VEHICLE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.