GET_PED_SOURCE_OF_DEATH
Returns the entity that killed the ped It is best to check if the Ped is dead before asking for its killer.
PEDBuild 1207
Signature
lua
GetPedSourceOfDeath(PlayerPedId())
-- returns EntityParameters
| Name | Type | Description |
|---|---|---|
| Ped | — |
Usage
lua
GetPedSourceOfDeath(PlayerPedId())Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Joaat hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
