Garry's Mod Wiki

CTakeDamageInfo:GetDamageType

number CTakeDamageInfo:GetDamageType()

Description

Returns a bitflag which indicates the damage type(s) of the damage.

Consider using CTakeDamageInfo:IsDamageType instead. Value returned by this function can contain multiple damage types.

Returns

1 number
Damage type(s), a combination of Enums/DMG

Page Links


Special Pages


Wikis

?

Render Time: 34ms

Session 0
DB GetPage 3
Generate Html 9
SaveChanges 9
Render Body 0
Render Sidebar 11