Vehicle::createMissionTrain
Train models HAVE TO be loaded (requested) before you use this.
For variation 15 - request:
freight
freightcar
freightgrain
freightcont1
freightcont2
freighttrailer
Syntax
mp.game.vehicle.createMissionTrain(variation, x, y, z, direction);
Required Arguments
- variation: int
- x: float
- y: float
- z: float
- direction: Boolean
Return value
- Vehicle handle or object
Example
// todo