Click or drag to resize

BasePlayerIsInVehicle Method

Checks if this BasePlayer is in a specific BaseVehicle.

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public virtual bool IsInVehicle(
	BaseVehicle vehicle
)

Parameters

vehicle
Type: SampSharp.GameMode.WorldBaseVehicle
The vehicle.

Return Value

Type: Boolean
True if player is in the vehicle; False otherwise.
See Also