PlayerDamage

From RAGE Multiplayer Wiki

Event triggered when a player gets damage.

Server-Side
Event

 C#  JavaScript




C# Syntax


JavaScript Syntax

Parameters

  • player: Player
  • healthLoss: Number
  • armorLoss: Number

Example

mp.events.add("playerDamage", (player, healthLoss, armorLoss) => {
 // Do what you want.
});


See also

Checkpoint

Colshape

Entity

Player

Streaming

Vehicle

Waypoint