Player::setIntoVehicle

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Ped: The ped to warp.
vehicle: The vehicle to warp the ped into.

More info of Seat Index
DriverSeat = 0
Passenger = 1
Left Rear = 2
RightRear = 3

(note this is for normal vehicles with 4 seats)

Syntax

player.setIntoVehicle(vehicle, seatIndex);

Required Arguments

  • vehicle: Vehicle handle or object
  • seatIndex: int

Return value

  • Undefined

Example

// todo

See also