Docs: Hunt Health


Custom functions and network variables included in Hunt Health

- - - - -

Functions


PLAYER.GetHealthBarStops - sv/cl

table PLAYER:GetHealthBarStops()

Returns a table of values where automatic healing stops.

This table is structured with each key being an amount of health and each corresponding value being true.


PLAYER.GetSumOfHealthBars - sv/cl

number PLAYER:GetSumOfHealthBars( number numBars )

Returns the sum of the first numBars health bars.


Network Vars

These are accessed by Player:GetNWType( "VarName" ). You can also Set them, but you shouldn't unless you know what you're doing.


HuntHealthBars - Int

The number of health bars the player has.


HuntHealthBarX - Int

Where x is a number from 1 to HuntHealthBars, how much health is in bar X.


PermaHuntHealthBars - Int

The number of saved health bars the player has.


PermaHuntHealthBarX - Int

Where x is a number from 1 to PermaHuntHealthBars, how much health is in bar X.