_GET_LAST_ENTITY_TO_DAMAGE_ENTITY
Returns the last entity that dealt any damage to the specified entity. This native appears to retrieve the attacker responsible for the most recent damage event on the given entity.
ENTITYBuild 1311
Signature
lua
GetLastEntityToDamageEntity(entity)
-- returns intParameters
| Name | Type | Description |
|---|---|---|
| Entity | — |
Usage
lua
GetLastEntityToDamageEntity(entity)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
