SetMaxHealth
Sets the max health of players.
Syntax
SetMaxHealth @players maxHealth
Arguments
| Name | Required | Type | Description |
|---|---|---|---|
players | Yes | Player variable (e.g. @all, @classDPlayers) | |
maxHealth | Yes | A number bigger or equal 1 |
Validated examples using this method
On a running server
Use serhelp SetMaxHealth to inspect the reference generated by your installed SER version.