Vehicle::getTrainCarriage

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

Corrected p1. it's basically the 'carriage/trailer number'. So if the train has 3 trailers you'd call the native once with a var or 3 times with 1, 2, 3.

Syntax

vehicle.getTrainCarriage(carriage);

Required Arguments

  • carriage: int

Return value

  • Entity handle or object

Example

// todo

See also