Garry's Mod Wiki

Revision Difference

CTakeDamageInfo:IsDamageType#514140

<function name="IsDamageType" parent="CTakeDamageInfo" type="classfunc">⤶ <description>Returns whenever the damageinfo contains the damage type specified.</description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="dmgType" type="number">Damage type to test. See &lt;page&gt;DMG&lt;/page&gt;.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="boolean">Whether this damage contains specified damage type or not</ret>⤶ </rets>⤶ </function>⤶ ⤶