GetPlayerMaxStamina
The player’s maximum stamina ([combat] max_stamina).
Syntax
Section titled “Syntax”GetPlayerMaxStamina(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”number; -1 when not connected
Example
Section titled “Example”SetPlayerStamina(pid, GetPlayerMaxStamina(pid))See also
Section titled “See also”GetPlayerStamina · the Vitals, stats and skills group of the index
