Перейти к содержанию

Vehicle::getTrainCarriage

Материал из RAGE MP Wiki Archive
Версия от 23:47, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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

<syntaxhighlight lang="javascript">vehicle.getTrainCarriage(carriage);</syntaxhighlight>

Required Arguments

  • carriage: int

Return value

  • Entity handle or object

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also