Entity::hasBeenDamagedBy

From RAGE Multiplayer Wiki

Entity 1 = Victim
Entity 2 = Attacker

p2 seems to always be 1

Syntax

entity.hasBeenDamagedBy(entity2, p2);

Required Arguments

  • entity2: Entity handle or object
  • p2: Boolean

Return value

  • Boolean

Example

// todo

See also