Garry's Mod Wiki

util.BlastDamageInfo

  util.BlastDamageInfo( CTakeDamageInfo dmg, Vector damageOrigin, number damageRadius )

Description

Applies spherical damage based on damage info to all entities in the specified radius.

Arguments

1 CTakeDamageInfo dmg
The information about the damage
2 Vector damageOrigin
Center of the spherical damage
3 number damageRadius
The radius in which entities will be damaged.