@zombieplague: Here is what I found in zombieplague.sma
PHP Code:
// Native: zp_get_zombie_maxhealth
public native_get_zombie_maxhealth(id)
{
if (g_zombie[id] && !g_nemesis[id])
{
if (g_firstzombie[id])
return floatround(g_zclass_hp[g_zombieclass[id]]*get_pcvar_float(cvar_zombiefirsthp));
else
return g_zclass_hp[g_zombieclass[id]];
}
return -1;
}
And here is what I found in zombieplague.inc :
PHP Code:
/**
* Returns the default maximum health of a zombie.
*
* Note: Takes into account first zombie's HP multiplier.
*
* @param id Player index.
* @return Maximum amount of health points, or -1 if not a normal zombie.
*/
native zp_get_zombie_maxhealth(id)
.....[I really hate this guy].....