VehicleGetPedOnSeat Method

RAGE Plugin Hook Documentation

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

Gets the Ped on the seat at the specified index.

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

public Ped GetPedOnSeat(
	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