GET_PED_SOURCE_OF_DAMAGE
Get the last entity that damaged the ped. This native is used server side when using OneSync.
CFX
Signature
lua
GetPedSourceOfDamage(PlayerPedId())
-- returns EntityParameters
| Name | Type | Description |
|---|---|---|
| Ped | The target ped |
Usage
lua
GetPedSourceOfDamage(PlayerPedId())Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
