Use the native?
PHP Code:
/**
* Returns the default maximum health for a specific zombie class.
*
* Note: does not take into account any kind of HP multipliers.
*
* @param id Player index.
* @param classid A valid zombie class ID.
* @return Maximum amount of health points, -1 on error.
*/
native zp_class_zombie_get_max_health(id, classid)
__________________