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
intid: the npc id.inthealth: the health points amount.