Garry's Mod Wiki

CTakeDamageInfo:GetDamageType

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

Special Pages


Wikis

?

Render Time: 61ms

DB GetPage 40
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 9