The Lab
VEHICLE native

SET_MISSION_TRAIN_AS_NO_LONGER_NEEDED

returns void2 paramsbuild 1207

Releases the mission train so the game can clean it up.

Signature

C
void SET_MISSION_TRAIN_AS_NO_LONGER_NEEDED(Vehicle* train, int flags); // 0xBBE7648349B49BE8 b1207

Parameters

#NameType
1trainVehicle* (out pointer)
2flagsint

Facts

Facts about SET_MISSION_TRAIN_AS_NO_LONGER_NEEDED
Name
SET_MISSION_TRAIN_AS_NO_LONGER_NEEDED
Hash
0xBBE7648349B49BE8
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(0xBBE7648349B49BE8, -- SET_MISSION_TRAIN_AS_NO_LONGER_NEEDED
  Citizen.PointerValueInt(), -- Vehicle* train
  0 -- int flags
)
print(train)
JavaScript
const train = Citizen.invokeNative("0xBBE7648349B49BE8", // SET_MISSION_TRAIN_AS_NO_LONGER_NEEDED
  Citizen.pointerValueInt(), // Vehicle* train
  0 // int flags
);
console.log(train)
C#
var trainArg = new OutputArgument();
Function.Call((Hash)0xBBE7648349B49BE8, // SET_MISSION_TRAIN_AS_NO_LONGER_NEEDED
  trainArg, // Vehicle* train
  0 // int flags
);
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.