zp_fw_core_infect_pre

Syntax

forward zp_fw_core_infect_pre(id, attacker)

Usage

id
Player index who is being infected/cured.
attacker
Player who is triggering the infection/cure.
(0 if not available, id = attacker if he is infecting/curing himself)

Description

Called on a player infect/cure attempt. You can block it by
returning PLUGIN_HANDLED in your plugin.