Skip to content

function setPlayerMaxHealth (server-side)

Available since version: 0.0.1

This function will set the player max health points for all players.

Declaration

void setPlayerMaxHealth(int id, int maxHealth)

Parameters

  • int id: the player id.
  • int maxHealth: the maximum health points amount.