Vehicle::createMissionTrain

From RAGE Multiplayer Wiki
Revision as of 21:34, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

See also