Click or drag to resize

BaseModeOnPlayerEnterVehicle Method

Raises the PlayerEnterVehicle event.

Namespace:  SampSharp.GameMode
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
protected virtual void OnPlayerEnterVehicle(
	BasePlayer player,
	EnterVehicleEventArgs e
)

Parameters

player
Type: SampSharp.GameMode.WorldBasePlayer
The player triggering the event.
e
Type: SampSharp.GameMode.EventsEnterVehicleEventArgs
An EnterVehicleEventArgs that contains the event data.
See Also