VehicleGetFreeSeatIndex Method

RAGE Plugin Hook Documentation

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

Gets the first free index seat of this vehicle.

Includes the driver's seat.

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

public Nullable<int> GetFreeSeatIndex()

Return Value

Type: NullableInt32
If a seat is found, returns the seat index; Otherwise, returns null.
See Also

Reference