function setPlayerMaxHealth (client-side)
Available since version: 0.3.0
Set a player's maximum health and clamp current health if needed.
Declaration
void setPlayerMaxHealth(number player_id, number max_health)
Parameters
numberplayer_id: Target player id.numbermax_health: New maximum health.