CTakeDamageInfo/GetDamageType

From Garry's Mod
Jump to: navigation, search
 CTakeDamageInfo:GetDamageType( )

Description

Returns a bitflag which indicates the damage type(s) of the damage.

Consider using CTakeDamageInfo:IsDamageType instead. Value returned by this function can contain multiple damage types.

Returns

number

Damage type(s), a combination of DMG_ Enums
Personal tools
Navigation