Docs: STStamina Neu


Custom functions included in STStamina Neu

- - - - -

Functions


PLAYER.AddStamina - sv/cl

void PLAYER:AddStamina( number stamina )

Adds number to the player's stamina. Does nothing on the client.


PLAYER.CapStamina - sv/cl

void PLAYER:CapStamina( number stamina )

Set's the player's maximum stamina. Does nothing on the client.


PLAYER.GetStamina - sv/cl

number PLAYER:GetStamina()

Returns the player's current stamina.


PLAYER.GetStaminaCap - sv/cl

number PLAYER:GetStaminaCap()

Returns the player's maximum stamina.


PLAYER.SetStamina - sv/cl

void PLAYER:SetStamina( number stamina )

Sets the player's stamina. Does nothing on the client.