zp_user_infect_attempt

Syntax

forward zp_user_infect_attempt(id, infector, nemesis)

Description

Called on a player infect/cure attempt. You can use this to block
an infection/humanization by returning ZP_PLUGIN_HANDLED in your plugin.

Note: Right now this is only available after the ZP round starts, since some
situations (like blocking a first zombie's infection) are not yet handled.