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(int player_id, int max_health)
Parameters
intplayer_id: Target player id.intmax_health: New maximum health.