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.

Page Links


Special Pages


Wikis

?

Render Time: 136ms

Session 0
DB GetPage 2
Generate Html 6
SaveChanges 9
Render Body 0
Render Sidebar 117