RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _GET_LAST_ENTITY_TO_DAMAGE_ENTITY

_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 int

Parameters

NameTypeDescription
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

On this page

  • Signature
  • Parameters
  • Usage
  • Details