Method HasBeenDamagedBy
HasBeenDamagedBy(Entity)
Declaration
public bool HasBeenDamagedBy(Entity entity)
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | The Entity to check |
Returns
Type | Description |
---|---|
System.Boolean |
|
HasBeenDamagedBy(WeaponHash)
Determines whether this Entity has been damaged by a specific weapon].
Declaration
public virtual bool HasBeenDamagedBy(WeaponHash weapon)
Parameters
Type | Name | Description |
---|---|---|
WeaponHash | weapon | The weapon to check. |
Returns
Type | Description |
---|---|
System.Boolean |
|