zp_core_is_zombie

Returns whether a player is a zombie.

Syntax

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

Usage

id Player index.

Return

True — if it is, false otherwise.

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