Skip to content

function getPlayerHealth (client-side)

Available since version: 0.0.1

This function will get the player/npc health points.

Declaration

int getPlayerHealth(int id)

Parameters

  • int id: the player id.

Returns int

health the health points amount.