Skip to main content

Vehicle::getTrainCarriage

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​

```js vehicle.getTrainCarriage(carriage); ```

Required Arguments​

  • carriage: int

Return value​

  • Entity handle or object

Example​

```js // todo ```

See also​