OnPedDead: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{ScriptItem2 | ||
| | |name = onPedDead | ||
|side = client | |||
|type = event | |type = event | ||
| | |games = iii vc sa iv | ||
| | |desc = a ped has finished dying or when the ped is instantly killed | ||
| | |arg1 = Ped ped The ped that has died. | ||
|cancel = false | |||
| | |||
}} | }} |
Latest revision as of 20:28, 19 November 2022
Event
Client Only
Online and Offline
Not Cancellable
Available since Client 1.0.0
onPedDead(Event event, Ped ped)
The onPedDead event is invoked when a ped has finished dying or when the ped is instantly killed.
Parameters
1) | Event | event | The event object for this event. |
2) | Ped | ped | The ped that has 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
Client Related
OnPedBusted
OnPedChangeWeapon
OnPedCrouch
OnPedDead
OnPedEnteredVehicle
OnPedEnteringVehicle
OnPedEnterVehicle
OnPedExitedVehicle
OnPedExitingVehicle
OnPedExitVehicle
OnPedFall
OnPedFireProjectile
OnPedInflictDamage
OnPedJump
OnPedSpawn
OnPedStartClosingVehicleDoor
OnPedStartFightAttack
OnPedStartFightDefend
OnPedStartOpeningVehicleDoor
OnPedUncrouch
OnPedUseWeapon
OnPedWasted