zp_core_is_first_zombie

Returns whether a player is the first zombie.

Syntax

native zp_core_is_first_zombie(id) /** * Returns whether a player is the last zombie. * * @param id Player index. * @return True if it is, false otherwise. */ native zp_core_is_last_zombie(id) /** * Returns whether a player is the last human. * * @param id Player index. * @return True if it is, false otherwise. */ 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. */

Usage

id Player index.

Return

True — if it is, false otherwise.

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