Garry's Mod Wiki

CTakeDamageInfo:SetDamageCustom

  CTakeDamageInfo:SetDamageCustom( number DamageType )

Description

Sets the custom damage type. This is used by Day of Defeat: Source and Team Fortress 2 for extended damage info, but isn't used in Garry's Mod by default.

Arguments

1 number DamageType
Any integer - can be based on your own custom enums.