OnPedInflictDamage

Revision as of 14:07, 7 October 2019 by Mex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

onPedInflictDamage

Signature: void onPedInflictDamage()

Usage: a ped is damaged

Parameters

Ped ped The ped that has been damaged.
Entity responsibleEntity The entity that is responsible for the damage.
int weapon The weapon ID for the damage.
float loss The ped health lost for the damage.
int pedPiece The ped piece ID for the damage.

Return

void