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

Player::getVehicleIsIn

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

Gets the vehicle the specified Ped is/was in depending on bool value.

[False = CurrentVehicle, True = LastVehicle]

Syntax

<syntaxhighlight lang="javascript">player.getVehicleIsIn(getLastVehicle);</syntaxhighlight>

Required Arguments

  • getLastVehicle: Boolean

Return value

  • Vehicle handle or object

Example

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

See also