| Property | Value |
|---|---|
| Native Name | HAS_ENTITY_BEEN_DAMAGED_BY_WEAPON |
| Hash | 0x131D401334815E94 |
| Return Type | BOOL |
| Parameters | entity (Entity), weaponHash (Hash), weaponType (int) |
Description: ``` It determines what weapons caused damage: If you want to define only a specific weapon, second parameter=weapon hash code, third parameter=0 If you want to define any melee weapon, second parameter=0, third parameter=1. If you want to identify any weapon (firearms, melee, rockets, etc.), second parameter=0, third parameter=2.