Garry's Mod Wiki

Garry's Mod Wiki

  number Entity:GetMaxHealth()

Description

Returns the max health that the entity was given. It can be set via Entity:SetMaxHealth.

Returns

1 number
Max health.

Example

Prints the maximum health set for player 1.

Output: By default, 100.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...