# SetHealth
TIP
setHealth(<player>, <health>, [max-health])
- Sets a player's health with the option to also set their maximum health.
# Parameters
<player>
The player to set their health as string<health>
Player's health as int or float[max-health]
Player's maximum health as int (More than 0)
# Example
1: $info$ = getInformation($player$)
2: setHealth($player$, $info$['max-health'])
3: sendMessage($player$, 'You have been healed.')