CTakeDamageInfo/IsDamageType

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

Description

Returns whenever the damageinfo contains the damage type specified.

Arguments

number dmgType

Damage type to test. See DMG_ Enums.

Returns

boolean

Whether this damage contains specified damage type or not
Personal tools
Navigation