Списък с функции в zp50_core.inc

Функция Описание
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.
zp_fw_core_infect
Called when a player gets infected.
zp_fw_core_infect_post
Тази функция няма описание.
zp_fw_core_cure
Called when a player turns back to human.
zp_fw_core_cure_post
Тази функция няма описание.
zp_fw_core_infect_pre
Called on a player infect/cure attempt. You can block it by
returning PLUGIN_HANDLED in your plugin.
zp_fw_core_cure_pre
Тази функция няма описание.
zp_fw_core_last_zombie
Called when a player becomes the last zombie/human.

Note: This is called for the first zombie too.
zp_fw_core_last_human
Тази функция няма описание.
zp_fw_core_spawn_post
Called when a player spawns, before applying human/zombie attributes to him.