Skip to content

function getPlayerHealth (server-side)

Available since version: 0.0.1

This function will get the player health points.

Declaration

int getPlayerHealth(int id)

Parameters

  • int id: the player id.

Returns int

the health points amount.