Garry's Mod Wiki

CTakeDamageInfo:GetMaxDamage

  number CTakeDamageInfo:GetMaxDamage()

Description

Returns the maximum damage. See CTakeDamageInfo:SetMaxDamage.

This is only set by "multi damage" instances in the engine, and is only checked by the strider NPC when receiving explosive damage.

Returns

1 number
The maximum amount of damage in the "multi damage" instance.