Skip to content

function setPlayerMaxHealth (client-side)

Available since version: 0.1.1

This function will set the player/npc max health points.

Declaration

void setPlayerMaxHealth(int id, int maxHealth)

Parameters

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