zp_core_get_human_count

Returns number of alive humans.

Syntax

native zp_core_get_human_count() /** * Turns a player into a zombie. * * @param id Player index to be infected. * @param attacker Player who triggered the infection. (optional) * @return True on success, false otherwise. */ native zp_core_infect(id, attacker = 0) /** * Turns a player into a human. * * @param id Player index to be cured. * @param attacker Player who triggered the cure. (optional) * @return True on success, false otherwise. */ native zp_core_cure(id, attacker = 0) /** * Forces a player to become a zombie/human. * * Note: use this only when previous checks need to be skipped. * * @param id Player index to be infected/cured. * @return True on success, false otherwise. */ native zp_core_force_infect(id) native zp_core_force_cure(id)

Return

Human — count.

Defined in zp50_core.inc at line 61 . This documentation was automatically generated from source.