zp_core_is_last_human
Returns whether a player is the last human.
Syntax
native zp_core_is_last_human(id) /** * Returns number of alive zombies. * * @return Zombie count. */ native zp_core_get_zombie_count() /** * Returns number of alive humans. * * @return Human count. */ 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)
Usage
| id | Player index. |
Return
True — if it is, false otherwise.
Defined in
zp50_core.inc
at line 47
.
This documentation was automatically generated from source.