onPedWasted

Revision as of 02:20, 11 November 2024 by Vortrex (talk | contribs)

Event Server and Client GTAIII Logo.png icon-vc.png Online and Offline Not Cancellable

Available since Server 1.0.0, Client 1.0.0
onPedWasted(Event event, Ped wastedPed, Ped attackerPed, int weapon, int pedPiece)
The onPedWasted event is invoked when a ped dies.

Parameters

1) Event event The event object for this event.
2) Ped wastedPed The ped that has died.
3) Ped attackerPed The ped that attacked the ped who died.
4) int weapon The weapon ID that caused the ped to die.
5) int pedPiece The ped piece ID for the ped that died.

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