VehicleGetPreviousPedOnSeat Method

RAGE Plugin Hook Documentation

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

Gets the Ped that was previously on the seat at the specified index.

A Ped is considered 'previous' when it leaves the vehicle.

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

public Ped GetPreviousPedOnSeat(
	int seatIndex
)

Parameters

seatIndex
Type: SystemInt32
The index to get the Ped from.

Return Value

Type: Ped
If a Ped is on the specified seat, returns the Ped; otherwise, returns null
See Also

Reference