Skip to main content

SetMaxHealth

Sets the max health of players.

Syntax​

SetMaxHealth @players maxHealth

Arguments​

NameRequiredTypeDescription
playersYesPlayer variable (e.g. @all, @classDPlayers)
maxHealthYesA 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.