Click or drag to resize

EnterVehicleEventArgs Constructor

Initializes a new instance of the EnterVehicleEventArgs class.

Namespace:  SampSharp.GameMode.Events
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public EnterVehicleEventArgs(
	BasePlayer player,
	BaseVehicle vehicle,
	bool isPassenger
)

Parameters

player
Type: SampSharp.GameMode.WorldBasePlayer
The player.
vehicle
Type: SampSharp.GameMode.WorldBaseVehicle
The vehicle.
isPassenger
Type: SystemBoolean
if set to true the player is a passenger.
See Also