OnPedInflictDamage: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
 
No edit summary
Line 11: Line 11:
|parameter5 = int pedPiece The ped piece ID for the damage.
|parameter5 = int pedPiece The ped piece ID for the damage.
|cancellable = true
|cancellable = true
|exampleJSCS = addEventHandler('onPedInflictDamage', function(event, ped, responsibleEntity, weapon, loss, pedPiece)
{
// Prevent the ped from being damaged.
event.preventDefault();
});
}}
}}
6,834

edits

Navigation menu