RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_PED_SOURCE_OF_DAMAGE

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 Entity

Parameters

NameTypeDescription
PedThe 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

On this page

  • Signature
  • Parameters
  • Usage
  • Details