function getPlayerMaxHealth (server-side)
Available since version: 0.3.0
Get a player's maximum health or nil if unavailable.
Declaration
int|nil getPlayerMaxHealth(int player_id)
Parameters
intplayer_id: Target player id.
Returns int|nil
Max health or nil.