Skip to content

function setPlayerHealth (client-side)

Available since version: 0.1.1

This function will set the player/npc health points.

Declaration

void setPlayerHealth(int id, int health)

Parameters

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