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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
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