Click or drag to resize
BaseModeVehicleDied Event
Occurs when the OnVehicleDied(BaseVehicle, PlayerEventArgs) callback is being called. This callback is called when a vehicle is destroyed - either by exploding or becoming submerged in water.

Namespace: SampSharp.GameMode
Assembly: SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.7.6221.37952
public event EventHandler<PlayerEventArgs> VehicleDied


Type: SystemEventHandlerPlayerEventArgs
This callback will also be called when a vehicle enters water, but the vehicle can be saved from destruction by teleportation or driving out (if only partially submerged). The callback won't be called a second time, and the vehicle may disappear when the driver exits, or after a short time.
See Also