onPedExitVehicle

Revision as of 04:29, 26 February 2024 by Mex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Event Server and Client icon-iii.png icon-vc.png icon-sa.png Online and Offline Not Cancellable

Available since Server 1.0.0, Client 1.0.0

onPedExitVehicle(Event event, Ped ped, Vehicle vehicle)

The onPedExitVehicle event is invoked when a ped exits a vehicle.
The event is invoked when the ped starts to leave the vehicle. If the vehicle exit is blocked, the event is not triggered until the ped actually leaves the vehicle.

Parameters

1) Event event The event object for this event.
2) Ped ped The ped that has exited a vehicle.
3) Vehicle vehicle The vehicle that the ped has exited.

Attributes

const This event cannot be cancelled.

Notes

There aren't any notes for this event.

Examples

There aren't any examples for this event.

Compatibility

There isn't any compatibility information for this event.

Related

Server Related

      OnPedCrouch
      OnPedEnterVehicle
      OnPedExitVehicle
      OnPedFall
      OnPedJump
        OnPedSpawn
      OnPedUncrouch
    OnPedWasted


Client Related

      OnPedBusted
      OnPedChangeWeapon
      OnPedCrouch
        OnPedDead
  OnPedEnteredVehicle
      OnPedEnteringVehicle
      OnPedEnterVehicle
  OnPedExitedVehicle
      OnPedExitingVehicle
      OnPedExitVehicle
      OnPedFall
      OnPedFireProjectile
      OnPedInflictDamage
      OnPedJump
        OnPedSpawn
  OnPedStartClosingVehicleDoor
      OnPedStartFightAttack
      OnPedStartFightDefend
  OnPedStartOpeningVehicleDoor
      OnPedUncrouch
      OnPedUseWeapon
        OnPedWasted