RedM Natives

APPLY_DAMAGE_TO_PED

damages a ped with the given amount

Hash0x697157CED63F18D4
Runtime nameApplyDamageToPed
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x697157CED63F18D4

Signature

void APPLY_DAMAGE_TO_PED(Ped ped, int damageAmount, BOOL damageArmour, int boneId, Ped pedKiller);

Parameters

NameTypeDescription
pedPed—
damageAmountint—
damageArmourBOOL—
boneIdint—
pedKillerPed—

Returns void

Description

damages a ped with the given amount

Usage

Lua
ApplyDamageToPed(ped, damageAmount, damageArmour, boneId, pedKiller)

-- always works, by hash
Citizen.InvokeNative(0x697157CED63F18D4, ped, damageAmount, damageArmour, boneId, pedKiller)
JavaScript and C#
JavaScript
ApplyDamageToPed(ped, damageAmount, damageArmour, boneId, pedKiller);

// by hash
Citizen.invokeNative('0x697157CED63F18D4', ped, damageAmount, damageArmour, boneId, pedKiller);
C#
Function.Call((Hash)0x697157CED63F18D4, ped, damageAmount, damageArmour, boneId, pedKiller);

Enums and flags

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.