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: 24ms

DB GetPage 2
Generate Html 6
SaveChanges (1) 8
Render Body 0
Render Sidebar 6