zp_get_zombie_maxhealth
Returns the default maximum health of a zombie. Note: Takes into account first zombie's HP multiplier.
Syntax
native zp_get_zombie_maxhealth(id) /** * Returns a player's custom flashlight batteries charge. * * @param id Player index. * @return Charge percent (0 to 100). */ native zp_get_user_batteries(id) /** * Sets a player's custom flashlight batteries charge. * * @param id Player index. * @param value New charge percent (0 to 100). */ native zp_set_user_batteries(id, charge) /** * Returns whether a player has night vision. * * @param id Player index. * @return True if it has, false otherwise. */ native zp_get_user_nightvision(id) /** * Sets whether a player has night vision. * * @param id Player index.
Usage
| id | Player index. |
Return
Maximum — amount of health points, or -1 if not a normal zombie.
Defined in
zombie_plague_advance.inc
at line 202
.
This documentation was automatically generated from source.