Skip to content

function getPlayerMaxHealth (server-side)

Available since version: 0.0.1

This function will get the player/npc max health points.

Declaration

int|null getPlayerMaxHealth(int id)

Parameters

  • int id: the player id.

Returns int|null

the maximum health points amount or null if player isn't created.