Garry's Mod Wiki

Revision Difference

CTakeDamageInfo:SetDamageType#518219

<function name="SetDamageType" parent="CTakeDamageInfo" type="classfunc"> <description>Sets the damage type.</description> <realm>Shared</realm> <args> <arg name="type" type="number">The damage type, see &lt;page&gt;DMG&lt;/page&gt;.</arg> <arg name="type" type="number">The damage type, see <page>DMG</page>.</arg> </args> </function>