Garry's Mod Wiki

CTakeDamageInfo:SetDamageType

  CTakeDamageInfo:SetDamageType( number type )

Description

Sets the damage type.

Arguments

1 number type
The damage type, see Enums/DMG.