Stamina
Control the stamina of players.
Syntaxโ
Stamina options @players stamina_value delay_stamina_regen?
Argumentsโ
| Name | Required | Type | Description |
|---|---|---|---|
options | Yes | One of the following options: > add > remove > set | Options: add, remove, set |
players | Yes | Player variable (e.g. @all, @classDPlayers) | |
stamina value | Yes | A number between 0% and 100% (inclusive) | Stamina is valued from 0 to 100%. 0 meaning an empty stamina bar and 100% meaning a full stamina bar. |
delay stamina regen | No | bool (true or false) value | Stops stamina regeneration for a short duration after applying new stamina value, just like at the end of a sprint. |
On a running serverโ
Use serhelp Stamina to inspect the reference generated by your installed SER version.