Garry's Mod Wiki

Revision Difference

CTakeDamageInfo:SetDamageType#518903

<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 <page>DMG</page>.</arg> <arg name="type" type="number">The damage type, see <page>Enums/DMG</page>.</arg> </args> </function>