zp_get_human_count
Returns number of alive humans.
Syntax
native zp_get_human_count() /** * Returns number of alive nemesis. * * @return Nemesis count. */ native zp_get_nemesis_count() /** * Returns number of alive survivors. * * @return Survivor count. */ native zp_get_survivor_count() /** * Registers a custom item which will be added to the extra items menu of ZP. * * Note: The returned extra item ID can be later used to catch item * purchase events for the zp_extra_item_selected() forward. * * Note: ZP_TEAM_NEMESIS and ZP_TEAM_SURVIVOR can be used to make * an item available to Nemesis and Survivors respectively. * * @param name Caption to display on the menu. * @param cost Ammo packs to be deducted on purchase. * @param teams Bitsum of teams it should be available for. * @return An internal extra item ID, or -1 on failure. */
Return
Human — count.
Defined in
zombieplague.inc
at line 332
.
This documentation was automatically generated from source.