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

Player::getVehicleIsUsing

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

Gets ID of vehicle player using. It means it can get ID at any interaction with vehicle. Enter/exit for example. And that means it is faster than GET_VEHICLE_Player_IS_IN but less safe.

Syntax

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

Required Arguments

Return value

  • Vehicle handle or object

Example

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

See also