OnPedInflictDamage

From GTA Connected
Revision as of 00:58, 22 April 2021 by Mex (talk | contribs)
Jump to navigation Jump to search

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