Skip to content

function setPlayerMaxHealth (client-side)

Available since version: 0.1.1

This function will set the npc max health points.

Declaration

void setPlayerMaxHealth(int id, int maxHealth)

Parameters

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