Beispiel #1
0
 /// <summary>
 ///     Raises the <see cref="PlayerExitVehicle" /> event.
 /// </summary>
 /// <param name="player">The player triggering the event.</param>
 /// <param name="e">An <see cref="PlayerVehicleEventArgs" /> that contains the event data. </param>
 protected virtual void OnPlayerExitVehicle(GtaPlayer player, PlayerVehicleEventArgs e)
 {
     if (PlayerExitVehicle != null)
         PlayerExitVehicle(player, e);
 }
Beispiel #2
0
 /// <summary>
 ///     Raises the <see cref="PlayerExitVehicle" /> event.
 /// </summary>
 /// <param name="player">The player triggering the event.</param>
 /// <param name="e">An <see cref="PlayerVehicleEventArgs" /> that contains the event data. </param>
 protected virtual void OnPlayerExitVehicle(BasePlayer player, PlayerVehicleEventArgs e)
 {
     PlayerExitVehicle?.Invoke(player, e);
 }