native

zp_class_human_get_max_health

Syntax

native zp_class_human_get_max_health(id, classid)

Description

Returns the default maximum health for a specific human class.

Note: does not take into account any kind of HP bonuses.

Parameters

id Player index.
classid A valid human class ID.

Return

Maximum amount of health points, -1 on error.