Native referenceFiveM

APPLY_DAMAGE_TO_PED

0x697157CED63F18D4 PED
FUNCTION SIGNATURE
void APPLY_DAMAGE_TO_PED(Ped ped, int damageAmount, BOOL armorFirst);
Property Value
Native Name APPLY_DAMAGE_TO_PED
Hash 0x697157CED63F18D4
Return Type void
Parameters ped (Ped), damageAmount (int), armorFirst (BOOL)

Description: ``` damages a ped with the given amount

armorFirst means it will damage/lower the armor first before damaging the player.
setting damageAmount to a negative amount will cause the player or the armor (depending on armorFirst) to be healed by damageAmount instead.


NativeDB Added Parameter 4: Any p3

Back to PED