Skip to content

function getPlayerMaxHealth (client-side)

Available since version: 0.3.0

Get a player's maximum health.

Declaration

int|nil getPlayerMaxHealth(int player_id)

Parameters

  • int player_id: Target player id.

Returns int|nil

Max health or nil.