Click or drag to resize

PlayerIsInVehicle Method

Checks if this player is in a specific vehicle.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public bool IsInVehicle(
	EntityId vehicle
)

Parameters

vehicle
Type: SampSharp.EntitiesEntityId
The vehicle.

Return Value

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