AMXX-BG.INFO zp50_core.inc

zp50_core

Browse all symbols documented inside this include file.

Functions

Name Description
zp_core_is_zombie Returns whether a player is a zombie.
zp_core_is_first_zombie Returns whether a player is the first zombie.
zp_core_is_last_zombie Returns whether a player is the last zombie.
zp_core_is_last_human Returns whether a player is the last human.
zp_core_get_zombie_count Returns number of alive zombies.
zp_core_get_human_count Returns number of alive humans.
zp_core_infect Turns a player into a zombie.
zp_core_cure Turns a player into a human.
zp_core_force_infect Forces a player to become a zombie/human. Note: use this only when previous checks need to be skipped.
zp_core_force_cure
zp_core_respawn_as_zombie Sets whether the player will be respawned as zombie or human.