Summary
public bool DoDamage(float damage, MyStringHash damageSource, bool sync, MyHitInfo? hitInfo, long attackerId, long realHitEntityId, bool shouldDetonateAmmo, MyStringHash? extraInfo)
Applies damage to an object
Returns
Parameters
- float damage
- MyStringHash damageSource
- bool sync
- MyHitInfo? hitInfo
- long attackerId
- long realHitEntityId
- bool shouldDetonateAmmo
- MyStringHash? extraInfo