deleteMissionTrain
DELETE_MISSION_TRAIN0x5B76B14AE875C795The GTA V native DELETE_MISSION_TRAIN of the VEHICLE namespace, as LS:MP client scripts call it: the global function deleteMissionTrain, in JavaScript and in Lua.
deleteMissionTrain(train: Vehicle): voiddeleteMissionTrain(train: Vehicle)⚠
Known issue
The value of train does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours.
Usage
JavaScript
deleteMissionTrain(train);Lua
deleteMissionTrain(train)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
train | Vehicle | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void DELETE_MISSION_TRAIN(Vehicle* train)- Hash
0x5B76B14AE875C795