Garry's Mod Wiki

CTakeDamageInfo:SetMaxDamage

  CTakeDamageInfo:SetMaxDamage( number maxDamage )

Description

Sets the maximum damage this damage event can cause.

Arguments

1 number maxDamage
Maximum damage value.