Native referenceFiveM

HAS_ENTITY_BEEN_DAMAGED_BY_ENTITY

0xC86D67D52A707CF8 ENTITY
FUNCTION SIGNATURE
BOOL HAS_ENTITY_BEEN_DAMAGED_BY_ENTITY(Entity entity, Entity damager, BOOL bCheckDamagerVehicle);
Property Value
Native Name HAS_ENTITY_BEEN_DAMAGED_BY_ENTITY
Hash 0xC86D67D52A707CF8
Return Type BOOL
Parameters entity (Entity), damager (Entity), bCheckDamagerVehicle (BOOL)

Parameters

  • entity (Entity) — The entity to check.
  • damager (Entity) — The entity that caused the damage.
  • bCheckDamagerVehicle (BOOL) — If the damager is driving a vehicle then check to see if the entity was damaged by the vehicle.
Back to ENTITY