Garry's Mod Wiki

CEffectData:SetDamageType

  CEffectData:SetDamageType( number damageType )

Description

Sets the damage type of the effect to be created with this effect data.

Arguments

1 number damageType
Damage type, see Enums/DMG.