OnPedInflictDamage
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