zp_fw_core_cure
Called when a player turns back to human.
Syntax
forward zp_fw_core_cure(id, attacker) forward zp_fw_core_cure_post(id, attacker) /** * Called on a player infect/cure attempt. You can block it by * returning PLUGIN_HANDLED in your plugin. * * @param id Player index who is being infected/cured. * @param attacker Player who is triggering the infection/cure. * (0 if not available, id = attacker if he is infecting/curing himself) */ forward zp_fw_core_infect_pre(id, attacker) forward zp_fw_core_cure_pre(id, attacker) /** * Called when a player becomes the last zombie/human. * * Note: This is called for the first zombie too. * * @param id Player index. */ forward zp_fw_core_last_zombie(id) forward zp_fw_core_last_human(id) /** * Called when a player spawns, before applying human/zombie attributes to him. * * @param id Player index. */ forward zp_fw_core_spawn_post(id)
Usage
| id | Player index who was cured. |
| attacker | Player who triggered the cure. |
Defined in
zp50_core.inc
at line 117
.
This documentation was automatically generated from source.