Garry's Mod Wiki

Revision Difference

CTakeDamageInfo:GetDamageType#514112

<function name="GetDamageType" parent="CTakeDamageInfo" type="classfunc">⤶ <description>⤶ Returns a bitflag which indicates the damage type(s) of the damage.⤶ ⤶ Consider using <page>CTakeDamageInfo:IsDamageType</page> instead. Value returned by this function can contain multiple damage types.⤶ </description>⤶ <realm>Shared</realm>⤶ <rets>⤶ <ret name="" type="number">Damage type(s), a combination of <page>DMG</page></ret>⤶ </rets>⤶ </function>⤶ ⤶