VehiclePassengers Property

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Gets the passengers of this vehicle.

Does not include the driver.

If you need a passenger at a specific seat index, using GetPedOnSeat(Int32) is more efficient.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: (0.56.1131.11510)

public Ped[] Passengers { get; }

Property Value

Type: Ped
An array of type Ped, containing all the Peds currently in this vehicle as passengers. Does not include the driver.
See Also