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

Player::taskWarpIntoVehicle

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

Seat Numbers
-------------------------------
Driver = -1
Any = -2
Left-Rear = 1
Right-Front = 0
Right-Rear = 2
Extra seats = 3-14(This may differ from vehicle type e.g. Firetruck Rear Stand, Ambulance Rear)

-YCSM

Syntax

<syntaxhighlight lang="javascript">player.taskWarpIntoVehicle(vehicle, seat);</syntaxhighlight>

Required Arguments

  • vehicle: Vehicle handle or object
  • seat: int

Return value

  • Undefined

Example

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

See also