PedIsInAnyVehicle Method

RAGE Plugin Hook Documentation

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

Gets whether this Ped is in any Vehicle.

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

public bool IsInAnyVehicle(
	bool atGetIn
)

Parameters

atGetIn
Type: SystemBoolean
If true this method returns true if the ped is currently getting into the vehicle (that is, the ped has opened the door, and is about to get in); if false the method doesn't return true until the ped is sitting in the seat.

Return Value

Type: Boolean
If this instance is currently in any vehicle, returns true; otherwise, returns false.
See Also

Reference