Garry's Mod Wiki

CTakeDamageInfo:IsDamageType

boolean CTakeDamageInfo:IsDamageType( number dmgType )

Description

Returns whenever the damageinfo contains the damage type specified.

Arguments

1 number dmgType
Damage type to test. See Enums/DMG.

Returns

1 boolean
Whether this damage contains specified damage type or not

Page Links


Special Pages


Wikis

?

Render Time: 31ms

Session 0
DB GetPage 2
Generate Html 7
SaveChanges 8
Render Body 0
Render Sidebar 12