Skip to content

function setPlayerHealth (server-side)

Available since version: 0.0.1

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

Declaration

void setPlayerHealth(int id, int the)

Parameters

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