Garry's Mod Wiki

Entity:SetMaxHealth

  Entity:SetMaxHealth( number maxhealth )

Description

Sets the maximum health for entity. Note, that you can still set entity's health above this amount with Entity:SetHealth.

Arguments

1 number maxhealth
What the max health should be