DELETE_MISSION_TRAIN
Hash
0x0D3630FB07E8B570Runtime name
DeleteMissionTrainNamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x5B76B14AE875C795Signature
void DELETE_MISSION_TRAIN(Vehicle* train);Parameters
| Name | Type | Description |
|---|---|---|
train | Vehicle* | — |
Returns void
Usage
local train = DeleteMissionTrain(train)
-- always works, by hash
local train = Citizen.InvokeNative(0x0D3630FB07E8B570, Citizen.PointerValueIntInitialized(train))JavaScript and C#
const train = DeleteMissionTrain(train);
// by hash
const train = Citizen.invokeNative('0x0D3630FB07E8B570', Citizen.pointerValueIntInitialized(train));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
_CREATE_MISSION_TRAINFor more information, see trainconfigs.ymt To make the train AI controlled, set conductor to true and set the speed once.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.